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

Re: Question: how should addTrack work in relation to createOffer et. al.?

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Fri, 15 May 2015 10:40:21 -0400
Message-ID: <55560555.9030809@mozilla.com>
To: Harald Alvestrand <harald@alvestrand.no>, Martin Thomson <martin.thomson@gmail.com>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 5/15/15 4:21 AM, Harald Alvestrand wrote:
> Den 14. mai 2015 03:46, skrev Jan-Ivar Bruaroey:
>> Which explains why Track Y gets included in this corner-case.
>>
>> We can:
>>
>>   1. Outlaw it
>>   2. Complicate chain (put createAnswer(X and whatelse) on it)
>>   3. Leave it
>>   4. Always chain (make non-corner cases take Track Y as well)
> 5. Define that createAnswer's execution model is that it clones the
> track list and chains a function innerCreateAnswer(trackListClone) that
> does what the user expects given when createAnswer is called, rather
> than itself being chained.

That's 2 (assuming you meant to remove the operations chain in favor of 
this).

As presently written, the operations chain precedes the processing 
models of the individual methods, but if I read 5 that way then it 
doesn't make sense, so I'm assuming you didn't mean that.

.: Jan-Ivar :.
Received on Friday, 15 May 2015 14:40:51 UTC

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