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

The current spec is pretty clear on how addTrack works in isolation:

a RTPSender is synchronously returned.

However, how addTrack relates to related (enqueued) operations is less 
clear.

As an example, for the sequence

var senderX = pc.addTrack(trackX);
pc.createOffer();
var senderY = pc.addTrack(trackY);

1. would track/senderY be represented in the offer in any case?
2. if so, would it be consistently represented in the offer or would it 
depend on e.g. queue status?

One way to spec this would be to say that createOffer takes a snapshot 
of the current senders when called, and changes between that snapshot 
and the actual execution of createOffer are not taken into account. Is 
this the way we should go?

(This relates to github Issue #156 for webrtc)

Stefan

Received on Thursday, 23 April 2015 12:34:59 UTC