This commit is contained in:
Antonio Scandurra 2023-10-26 16:40:44 +02:00
parent 98d03f6e7a
commit 637cff3ebd
22 changed files with 206 additions and 267 deletions

View file

@ -371,7 +371,7 @@ impl Room {
pub fn publish_video_track(
self: &Arc<Self>,
track: &LocalVideoTrack,
track: LocalVideoTrack,
) -> impl Future<Output = Result<LocalTrackPublication>> {
let this = self.clone();
let track = track.clone();
@ -384,7 +384,7 @@ impl Room {
}
pub fn publish_audio_track(
self: &Arc<Self>,
track: &LocalAudioTrack,
track: LocalAudioTrack,
) -> impl Future<Output = Result<LocalTrackPublication>> {
let this = self.clone();
let track = track.clone();