Disable livekit on zed2

This commit is contained in:
Antonio Scandurra 2023-10-26 17:11:51 +02:00
parent 637cff3ebd
commit 516236e044
3 changed files with 470 additions and 456 deletions

View file

@ -1481,12 +1481,11 @@ impl Room {
#[cfg(any(test, feature = "test-support"))] #[cfg(any(test, feature = "test-support"))]
pub fn set_display_sources(&self, sources: Vec<live_kit_client::MacOSDisplay>) { pub fn set_display_sources(&self, sources: Vec<live_kit_client::MacOSDisplay>) {
todo!() self.live_kit
// self.live_kit .as_ref()
// .as_ref() .unwrap()
// .unwrap() .room
// .room .set_display_sources(sources);
// .set_display_sources(sources);
} }
} }

View file

@ -1,10 +1,8 @@
use anyhow::{anyhow, Result}; use anyhow::{anyhow, Result};
use client2::ParticipantIndex; use client2::ParticipantIndex;
use client2::{proto, User}; use client2::{proto, User};
use collections::HashMap;
use gpui2::WeakHandle; use gpui2::WeakHandle;
pub use live_kit_client::Frame; pub use live_kit_client::Frame;
use live_kit_client::RemoteAudioTrack;
use project2::Project; use project2::Project;
use std::{fmt, sync::Arc}; use std::{fmt, sync::Arc};
@ -47,8 +45,8 @@ pub struct RemoteParticipant {
pub participant_index: ParticipantIndex, pub participant_index: ParticipantIndex,
pub muted: bool, pub muted: bool,
pub speaking: bool, pub speaking: bool,
pub video_tracks: HashMap<live_kit_client::Sid, Arc<RemoteVideoTrack>>, // pub video_tracks: HashMap<live_kit_client::Sid, Arc<RemoteVideoTrack>>,
pub audio_tracks: HashMap<live_kit_client::Sid, Arc<RemoteAudioTrack>>, // pub audio_tracks: HashMap<live_kit_client::Sid, Arc<RemoteAudioTrack>>,
} }
#[derive(Clone)] #[derive(Clone)]

File diff suppressed because it is too large Load diff