w3c / webrtc-pc

WebRTC 1.0 API
https://w3c.github.io/webrtc-pc/
Other
437 stars 115 forks source link

No way to associate streams using addTransceiver() #1452

Closed jan-ivar closed 7 years ago

jan-ivar commented 7 years ago

As I mention in https://github.com/w3c/webrtc-pc/issues/1237#issuecomment-313210542, JSEP says:

But there's no way to associate a MediaStream with a transceiver using addTransceiver. Omission or bug in JSEP?

E.g. the warm-up example and simulcast example in the spec are only possible with zero stream associations.

taylor-b commented 7 years ago

But there's no way to associate a MediaStream with a transceiver using addTransceiver.

JSEP says:

At the time of creation, the application can also specify ... a set of MediaStreams which the transceiver is associated with

And in WebRTC 1.0, RTCRtpTransceiverInit contains a sequence of streams. So I don't see what's missing.

jan-ivar commented 7 years ago

@taylor-b You're right. Don't know how I missed that.