WIP - make livekit work in GPUI2

This commit is contained in:
Mikayla 2023-10-31 14:04:03 -07:00
parent ed5f1d3bdd
commit 244e8ce101
No known key found for this signature in database
16 changed files with 2586 additions and 118 deletions

View file

@ -2,7 +2,7 @@ use anyhow::{anyhow, Result};
use client2::ParticipantIndex;
use client2::{proto, User};
use gpui2::WeakModel;
pub use live_kit_client::Frame;
pub use live_kit_client2::Frame;
use project2::Project;
use std::{fmt, sync::Arc};
@ -51,7 +51,7 @@ pub struct RemoteParticipant {
#[derive(Clone)]
pub struct RemoteVideoTrack {
pub(crate) live_kit_track: Arc<live_kit_client::RemoteVideoTrack>,
pub(crate) live_kit_track: Arc<live_kit_client2::RemoteVideoTrack>,
}
unsafe impl Send for RemoteVideoTrack {}