[ortc] Receiver "kind" not known until calling receiver.receive()

aboba has just created a new issue for 
https://github.com/openpeer/ortc:

== Receiver "kind" not known until calling receiver.receive() ==
In Edge ORC, we got feedback from developers who attempted to hook up 
a receiver to an audio or video tag prior to calling 
receiver.receive().  Since the "kind" of a receiver was not determined
 until receiver.receive() is called, we were throwing an exception, 
and developers found this to be annoying. 

To fix this, in Edge we added "kind" to the constructor.  This would 
look like the following: 

[ Constructor (RTCDtlsTransport transport, optional RTCDtlsTransport 
rtcpTransport, optional DOMString kind)]
partial interface RTCRtpReceiver : RTCStatsProvider {
};


Please view or discuss this issue at 
https://github.com/openpeer/ortc/issues/411 using your GitHub account

Received on Friday, 11 March 2016 20:25:18 UTC