WIP: Use audio support to send live data
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
|
||||
use std::time::Duration;
|
||||
|
||||
use futures::StreamExt;
|
||||
use gpui::{actions, keymap_matcher::Binding, Menu, MenuItem};
|
||||
use live_kit_client::{LocalVideoTrack, RemoteVideoTrackUpdate, Room, LocalAudioTrack, RemoteAudioTrackUpdate};
|
||||
@@ -69,6 +72,11 @@ fn main() {
|
||||
panic!("unexpected message");
|
||||
}
|
||||
|
||||
let res = room_b.remote_audio_tracks("test-participant-1")[0].start().await;
|
||||
println!("Attempting to start: {:?}", res);
|
||||
let timer = cx.background().timer(Duration::from_secs(10));
|
||||
timer.await;
|
||||
|
||||
let remote_audio_track = room_b
|
||||
.remote_audio_tracks("test-participant-1")
|
||||
.pop()
|
||||
|
||||
Reference in New Issue
Block a user