Skip to content

Commit f9d8b84

Browse files
committed
Replace rtcObject with owner slot in the SFrame section
1 parent 45d6fb6 commit f9d8b84

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
@@ -202,8 +202,8 @@ The <dfn constructor for="SFrameTransform" lt="SFrameTransform(options)"><code>n
202202

203203
The SFrame transform algorithm, given |sframe| as a SFrameTransform object and |frame|, runs these steps:
204204
1. Let |role| be |sframe|.`[[role]]`.
205-
2. If |frame|.`[[rtcObject]]` is a {{RTCRtpSender}}, set |role| to 'encrypt'.
206-
3. If |frame|.`[[rtcObject]]` is a {{RTCRtpReceiver}}, set |role| to 'decrypt'.
205+
2. If |frame|.`[[owner]]` is a {{RTCRtpSender}}, set |role| to 'encrypt'.
206+
3. If |frame|.`[[owner]]` is a {{RTCRtpReceiver}}, set |role| to 'decrypt'.
207207
4. Let |data| be undefined.
208208
5. If |frame| is a {{BufferSource}}, set |data| to |frame|.
209209
6. If |frame| is a {{RTCEncodedAudioFrame}}, set |data| to |frame|.{{RTCEncodedAudioFrame/data}}

0 commit comments

Comments
 (0)