[webrtc-pc] new commits pushed by burnburn

The following commits were just pushed by burnburn to https://github.com/w3c/webrtc-pc:

* Select sent codec via "codecPayloadType" field rather than reordering.

Fixes #1207.

Instead of selecting a codec by reordering the list from
`getParameters`, an application will now pick the payload type of
its preferred codec and set it in `RTCRtpEncodingParameters`. This
matches ORTC, and fixes the linked issue, because as long as the
selected codec is still present in a new offer/answer exchange, it will
stay selected.

If the selected codec is *not* present in a new offer/answer exchange,
the implementation will go back to its normal policy, which is the same
behavior as before this PR.

Note that this PR puts the `codecPayloadType` field on
`RTCRtpEncodingParameters`, which means the codec may be different
per-encoding, which wasn't possible before. If this is an issue, it
could be moved to the `RTCRtpParameters` level instead.
  by Taylor Brandstetter
https://github.com/w3c/webrtc-pc/commit/8d1fbf46cd4342e3a6cc64e63a2e147c905b532a

* Change payload type fields to octet.
  by Taylor Brandstetter
https://github.com/w3c/webrtc-pc/commit/793a974d0745104ffe898cb6105795704f519aaa

* Codec params don't have "name" in WebRTC 1.0, they have "mimeType".
  by Taylor Brandstetter
https://github.com/w3c/webrtc-pc/commit/61613206ef23b97e91e06cbd26beabcc028bdccd

* unsigned short -> octet for codecPayloadType in table
  by Bernard Aboba
https://github.com/w3c/webrtc-pc/commit/797185999c2aaf4b00fa05f21bace64595453c6f

* Merge pull request #1592 from taylor-b/issue_1207_add_codecpayloadtype

Select sent codec via "codecPayloadType" field rather than reordering.
  by Daniel Burnett
https://github.com/w3c/webrtc-pc/commit/dc29eef7cab9a25dfaf85edf10ee25c43ebb4d8d

Received on Thursday, 14 September 2017 14:15:44 UTC