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

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

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 May 2018 18:52:15 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-389627112-1526496728-sysbot+gh@w3.org>
> Suggestion: Add Firefox' behavior between section 2 and 3 in "final steps to create an offer".

Looks like we're leaning toward this.

Firefox rejects with `InvalidStateError` here if there are no transceivers. AFAICT this will only happen initially before any transceiver has been created. Is that right? [Seems true](https://jsfiddle.net/jib1/phyj9vvv/) in Firefox.

Do we need a check in createAnswer() or setRemoteDescription? Is it possible to SRD() with an offer with no m-lines? What should happen then?

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1745#issuecomment-389627112 using your GitHub account
Received on Wednesday, 16 May 2018 18:52:26 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:44 UTC