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

[webrtc-pc] What should happen if a DataChannel "OPEN" message uses priority other than one of the recommended values?

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Fri, 23 Jun 2017 15:28:46 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-238176419-1498231724-sysbot+gh@w3.org>
taylor-b has just created a new issue for https://github.com/w3c/webrtc-pc:

== What should happen if a DataChannel "OPEN" message uses priority other than one of the recommended values? ==
In draft-ietf-rtcweb-data-channel, data channel priorities are defined thusly:

> For use in WebRTC, the values used SHOULD be one of 128 ("below normal"), 256 ("normal"), 512 ("high") or 1024 ("extra high").

So, an implementation MAY use values other than 128, 256, 512 or 1024.

If it does, and it puts this value in the "OPEN" message, what should the priority be set to on the other side? And what should the `priority` attribute return?

It seems like we may need to make the `priority` attribute an integer, while keeping the `RTCDataChannelInit` member an enum.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1423 using your GitHub account
Received on Friday, 23 June 2017 15:28:52 UTC

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