W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2017

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

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Jun 2017 09:00:30 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-125988973-1497603627-sysbot+gh@w3.org>
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:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC