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

[webrtc-pc] Pull Request: Fix setCodecPreferences note regarding offer/answer negotiation.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Apr 2018 22:25:05 +0000
To: public-webrtc-logs@w3.org
Message-ID: <pull_request.opened-183183712-1524263104-sysbot+gh@w3.org>
taylor-b has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Fix setCodecPreferences note regarding offer/answer negotiation. ==
Fixes #1838.

The note said that, even if codec preferences are set, the list of
codecs in the answer will be a subset of those in the offer. Which JSEP
required before, but now does not:

  [T]he media formats in the answer MUST include at least one format
  that is present in the offer, but MAY include formats that are locally
  supported but not present in the offer.

So now, the subset rule is only a SHOULD in RFC3264, and not a MUST in
JSEP. So although most implementations are expected to honor the
"SHOULD", implementations can technically offer codecs in the answer
that were not in the offer. Which is now clarified in this note, with a
brief example.

Also moving the note out of the normative portion of `setCodecPreferences`,
and putting in an actual "note" block.

See https://github.com/w3c/webrtc-pc/pull/1844
Received on Friday, 20 April 2018 22:25:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:01 UTC