You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,7 @@ The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |
227
227
12. If |frame| is a {{RTCEncodedVideoFrame}}, set |frame|.{{RTCEncodedVideoFrame/data}} to |buffer|.
228
228
13. [=ReadableStream/Enqueue=] |frame| in |sframe|.`[[transform]]`.
229
229
230
-
## Methods
230
+
## Methods {#sframe-transform-methods}
231
231
The <dfn method for="SFrameTransform">setEncryptionKey(|key|, |keyID|)</dfn> method steps are:
232
232
1. Let |promise| be [=a new promise=].
233
233
2. If |keyID| is a {{bigint}} which cannot be represented as a integer between 0 and 2<sup>64</sup>-1 inclusive, [=reject=] |promise| with a {{RangeError}} exception.
@@ -315,7 +315,7 @@ The <dfn constructor for="RTCRtpScriptTransform" lt="RTCRtpScriptTransform(worke
315
315
2. Set |t2| to an [=identity transform stream=].
316
316
3. Set |this|.`[[writable]]` to |t1|.`[[writable]]`.
317
317
4. Set |this|.`[[readable]]` to |t2|.`[[readable]]`.
318
-
5. Let |serializedOptions| be the result of [$StructuredSerialize$](|object|).
318
+
5. Let |serializedOptions| be the result of [$StructuredSerialize$](|options|).
319
319
6. Let |serializedReadable| be the result of [$StructuredSerializeWithTransfer$](|t1|.`[[readable]]`, « |t1|.`[[readable]]` »).
320
320
7. Let |serializedWritable| be the result of [$StructuredSerializeWithTransfer$](|t2|.`[[writable]]`, « |t2|.`[[writable]]` »).
321
321
8. [=Queue a task=] on the DOM manipulation [=task source=] |worker|'s global scope to run the following steps:
0 commit comments