W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2017

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

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Nov 2017 15:02:46 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-276404616-1511449365-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Thursday, 23 November 2017 15:02:55 UTC