W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2018

[webrtc-pc] Codify refusing to generate an empty Offer

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Jan 2018 07:35:35 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-292309214-1517211330-sysbot+gh@w3.org>
alvestrand has just created a new issue for https://github.com/w3c/webrtc-pc:

== Codify refusing to generate an empty Offer ==
The result of creating a no-track, no-datachannel, no-offer-to-receive offer is at the moment not consistent between browsers.

Chrome will generate an offer that will not be useful for establishing an ICE transport; Firefox will refuse with the following error:

InternalError: Cannot create an offer with no local tracks, no offerToReceiveAudio/Video, and no DataChannel.

Chrome's behavior can lead to a confusing state where offer/answer has succeeded, but the ICETransport never reaches "connected" state. It's hard to imagine a situation where this is useful.

Suggestion: Add Firefox' behavior between section 2 and 3 in "final steps to create an offer".


Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1745 using your GitHub account
Received on Monday, 29 January 2018 07:35:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 January 2018 07:35:41 UTC