[webrtc-pc] Pull Request: Add RTCDataChannelPriority enum and step to initialize data channel priority

soareschen has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Add RTCDataChannelPriority enum and step to initialize data channel priority ==
Fixes #1368.

The priority values defined in rtcweb-data-channel is different from the priority values in rtcweb-transports. As a result the enum `RTCPriorityType` does not match the usage of priority in data channels.

I have defined a new `RTCDataChannelPriority` enum based on rtcweb-data-channel and update the attribute definition. An additional step is added to the _"underlying data transport is to be announced"_ section to initialize the `priority` attribute in the data channel.

This should be safe to change as current browsers have not implemented the priority attribute for data channels.

See https://github.com/w3c/webrtc-pc/pull/1400

Received on Friday, 16 June 2017 09:00:35 UTC