W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2021

[webrtc-insertable-streams] SFrameTransfor.setEncryptionKey cannot be set all possible keyID values (#69)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Mar 2021 13:34:16 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-823091780-1614951255-sysbot+gh@w3.org>
youennf has just created a new issue for https://github.com/w3c/webrtc-insertable-streams:

== SFrameTransfor.setEncryptionKey cannot be set all possible keyID values ==
As per SFrame, keyID can be 64 bits.
But unsigned long long is only mapping precisely up to 53 bits, as per https://heycam.github.io/webidl/#abstract-opdef-converttoint.

One possibility is to use a BigInt in lieu, or in addition maybe.
In that case values above max<unsigned long long> could trigger a RangeError.

Please view or discuss this issue at https://github.com/w3c/webrtc-insertable-streams/issues/69 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 5 March 2021 13:34:18 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:53 UTC