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

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