W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2022

Re: [webrtc-pc] Change stream associations (#2658)

From: pablopla via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Dec 2022 09:00:01 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1340610845-1670403599-sysbot+gh@w3.org>
So what is the best way to dynamically change A/V sync between tracks?
I'm trying to do this:
1. Conference has two users (U1, U2) each with a video track (V1, V2). The conference has one audio track (A) for the current active speaker.
2. U1 is the active speaker. Audio track A and video track V1 are part of stream S1 and there is A/V sync.
3. Video track V2 is part of stream S2 with no audio track.
4. Now U2 is the active speaker.
5. Audio track A is removed from stream S1 and added to stream S2. Now there is A/V sync between A and V2.

Is it possible to dynamically change the A/V sync of the audio track between two different video tracks? Is it supposed to work in Firefox/Chrome/Safari?
Should I use setStreams on the sender side or use addTrack/removeTrack on the receiver side?

-- 
GitHub Notification of comment by pablopla
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2658#issuecomment-1340610845 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 December 2022 09:00:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:59 UTC