Skip to content

Commit ffbe303

Browse files
committed
Rename object to options and add an ID to sframe transform methods section
1 parent b5fae15 commit ffbe303

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
@@ -224,7 +224,7 @@ The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |
224224
12. If |frame| is a {{RTCEncodedVideoFrame}}, set |frame|.{{RTCEncodedVideoFrame/data}} to |buffer|.
225225
13. [=ReadableStream/Enqueue=] |frame| in |sframe|.`[[transform]]`.
226226

227-
## Methods
227+
## Methods {#sframe-transform-methods}
228228
The <dfn method for="SFrameTransform">setEncryptionKey(|key|, |keyID|)</dfn> method steps are:
229229
1. Let |promise| be [=a new promise=].
230230
2. [=In parallel=], run the following steps:
@@ -311,7 +311,7 @@ The <dfn constructor for="RTCRtpScriptTransform" lt="RTCRtpScriptTransform(worke
311311
2. Set |t2| to an [=identity transform stream=].
312312
3. Set |this|.`[[writable]]` to |t1|.`[[writable]]`.
313313
4. Set |this|.`[[readable]]` to |t2|.`[[readable]]`.
314-
5. Let |serializedOptions| be the result of [$StructuredSerialize$](|object|).
314+
5. Let |serializedOptions| be the result of [$StructuredSerialize$](|options|).
315315
6. Let |serializedReadable| be the result of [$StructuredSerializeWithTransfer$](|t1|.`[[readable]]`, « |t1|.`[[readable]]` »).
316316
7. Let |serializedWritable| be the result of [$StructuredSerializeWithTransfer$](|t2|.`[[writable]]`, « |t2|.`[[writable]]` »).
317317
8. [=Queue a task=] on the DOM manipulation [=task source=] |worker|'s global scope to run the following steps:

0 commit comments

Comments
 (0)