Re: ReplaceTrack and track.id (Re: ReplaceTrack - need to evaluate alternatives)

On 14 April 2015 at 12:23, Justin Uberti <juberti@google.com> wrote:
> Basically, when you add a track, and thereby generate a new RtpSender, the
> "track id" associated with the sender is fixed for the lifetime of the
> RtpSender. So if A sends X, and then later does replaceTrack to send Y, this
> doesn't change anything for media or future signalling.
>
> In essence, this means that MSID really serves as the id of a RtpSender. If
> you want to change the id, removeTrack + addTrack to get a new RtpSender.


That works too.

Received on Tuesday, 14 April 2015 19:29:13 UTC