Skip to content

Commit eac51f0

Browse files
authored
Merge pull request #76 from youennf/rtcobject-to-owner
Replace rtcObject with owner slot in the SFrame section
2 parents d0dfe73 + f9d8b84 commit eac51f0

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

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

0 commit comments

Comments
 (0)