-
Notifications
You must be signed in to change notification settings - Fork 27
Add decryption/encryption dedicated APIs #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
index.bs
Outdated
| <pre class="idl"> | ||
| typedef (SFrameTransform or RTCRtpScriptTransform) RTCRtpTransform; | ||
| typedef (SFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform; | ||
| typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceierTransform; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo RTCRtpReceierTransform -> RTCRtpReceiverTransform
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed
index.bs
Outdated
| 1. [=Resolve=] |promise| with undefined. | ||
| 1. Return |promise|. | ||
|
|
||
| // FIXME: Should SFrameTransform receiver be made aware of the current key in use, so that it would call removeEncryptionKey appropriately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove fixme and file an issue instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
index.bs
Outdated
| <pre class="idl"> | ||
| typedef (SFrameTransform or RTCRtpScriptTransform) RTCRtpTransform; | ||
| typedef (SFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform; | ||
| typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceierTransform; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceierTransform; | |
| typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform; |
index.bs
Outdated
| 1. Let |keyStore| be the key store used for the SFrame transform algorithm, as defined by [[RFC9605]]. | ||
| 1. Set an entry to |keyStore| with |keyId| as key and |keyValue| as value. This overrides any existing entry to |keyId|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see "key store" matches language in RFC9605, which is nice.
But I also wonder if we could use infra here. Is it an https://infra.spec.whatwg.org/#ordered-map ?
Removing fixme in favour of w3c#289
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
5bca503 to
f842e48
Compare
Fixes #259
Preview | Diff