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

On Wed, Apr 15, 2015 at 2:49 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> On 15 April 2015 at 14:41, Peter Thatcher <pthatcher@google.com> wrote:
> > There just one issue I'm not sure what to do about:  if we use MID
> instead
> > of MSID, how do we signal the synchronization groups (ie the MediaStreams
> > the MediaStreamTracks are supposed to go in).
>
>
> Adam and I had a group ID proposal that was used for the partial
> offer-answer proposal.  Attach that to the LS group, perhaps.
> ​
>

​How would that fit into PeerConnection.addTrack?  Would it be
PeerConnection.addTrack(label, track, mediaStreams) still?  Or would it be
PeerConnection.addTrack(label, track, groupIDs)?​



> ​
>


> BTW, immutability > mutability every time.


​I heartily agree.​



> If we can settle on using
> mid, then this is fine.  I would prefer if the mid value were chosen
> by the browser though.
>

​Any particular reason?  I know it has some constraints that will catch
developers by surprise the first time (basically, no special characters),
and it should probably be short (since it will go in header extensions,
etc).  But other than that?​
​

​​

Received on Wednesday, 15 April 2015 21:56:26 UTC