Skip to content

Commit 19d1314

Browse files
authored
Merge pull request #87 from youennf/fix-sframe-transform-typo
Rename object to options
2 parents d7bc9b1 + ffbe303 commit 19d1314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |
227227
12. If |frame| is a {{RTCEncodedVideoFrame}}, set |frame|.{{RTCEncodedVideoFrame/data}} to |buffer|.
228228
13. [=ReadableStream/Enqueue=] |frame| in |sframe|.`[[transform]]`.
229229

230-
## Methods
230+
## Methods {#sframe-transform-methods}
231231
The <dfn method for="SFrameTransform">setEncryptionKey(|key|, |keyID|)</dfn> method steps are:
232232
1. Let |promise| be [=a new promise=].
233233
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
315315
2. Set |t2| to an [=identity transform stream=].
316316
3. Set |this|.`[[writable]]` to |t1|.`[[writable]]`.
317317
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|).
319319
6. Let |serializedReadable| be the result of [$StructuredSerializeWithTransfer$](|t1|.`[[readable]]`, « |t1|.`[[readable]]` »).
320320
7. Let |serializedWritable| be the result of [$StructuredSerializeWithTransfer$](|t2|.`[[writable]]`, « |t2|.`[[writable]]` »).
321321
8. [=Queue a task=] on the DOM manipulation [=task source=] |worker|'s global scope to run the following steps:

0 commit comments

Comments
 (0)