Add audio APIs to Zed
Share mic on joining room
This commit is contained in:
parent
ae68be64c0
commit
dedc117cca
6 changed files with 186 additions and 30 deletions
|
@ -2750,7 +2750,7 @@ impl Workspace {
|
|||
let call = self.active_call()?;
|
||||
let room = call.read(cx).room()?.read(cx);
|
||||
let participant = room.remote_participant_for_peer_id(peer_id)?;
|
||||
let track = participant.tracks.values().next()?.clone();
|
||||
let track = participant.video_tracks.values().next()?.clone();
|
||||
let user = participant.user.clone();
|
||||
|
||||
for item in pane.read(cx).items_of_type::<SharedScreen>() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue