[whatwg] PeerConnection, MediaStream, getUserMedia(), and other feedback

Stefan Håkansson LK stefan.lk.hakansson at ericsson.com
Wed Jul 27 23:59:42 PDT 2011


>On Tue, Jul 26, 2011 at 07:30, Ian Hickson <ian at hixie.ch> wrote:
>>
>>
>> > If you send two MediaStream objects constructed from the same
>> > LocalMediaStream over a PeerConnection there needs to be a way to
>> > separate them on the receiving side.
>>
>> What's the use case for sending the same feed twice?
>>
>
>There's no proper use case as such but the spec allows this.
The question is how serious a problem this is. If you want to fork, and make both (all) versions available at the peer, would you not transmit the full stream and fork at the receiving end for efficiency reasons? And if you really want to fork at the sender, one way to separate them is to use one PeerConnection per fork.

Stefan


More information about the whatwg mailing list