[webrtc-pc] RTCPeerConnection constructor can fail - what error to return?

alvestrand has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCPeerConnection constructor can fail - what error to return? ==
Observed in practice:
It's possible that we can't create an RTCPeerConnection because of lack of resources.
But the description in section 4.4.1.1 doesn't describe any error to return for this case.

Suggested fix:
Add before step 2:

"If resources to create the RTCPeerConnection object are not present at this or any subsequent step, throw <some error>"



Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1670 using your GitHub account

Received on Thursday, 23 November 2017 15:02:54 UTC