W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2015

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

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 14 Apr 2015 12:28:42 -0700
Message-ID: <CABkgnnUZaSACA38EBu277Mo13dvdETAR17iz=hYfmnYYaTp9mg@mail.gmail.com>
To: Justin Uberti <juberti@google.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:43 UTC