File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ Abstract: {{MediaStreamTrack}}s carrying raw data.
14
14
Markup Shorthands : css no, markdown yes
15
15
</pre>
16
16
<pre class=anchors>
17
- url: https://w3c.github.io/webcodecs/#close-videoframe; text: Close VideoFrame; type: dfn; spec: WEBCODECS
18
17
url: https://w3c.github.io/webcodecs/#videoframe; text: VideoFrame; type: interface; spec: WEBCODECS
19
18
url: https://w3c.github.io/webcodecs/#videoencoder; text: VideoEncoder; type: interface; spec: WEBCODECS
20
19
url: https://streams.spec.whatwg.org/#readablestream-controller; text: [[controller]] ; for: ReadableStream; type: dfn; spec: STREAMS
@@ -301,7 +300,7 @@ is accessed for the first time, it MUST be initialized with the following steps:
301
300
302
301
The <dfn>writeFrame</dfn> algorithm is given a |generator| and a |frame| as input. It is defined by running the following steps:
303
302
1. If |frame| is not a {{VideoFrame}} object, return [=a promise rejected with=] a {{TypeError}} .
304
- 1. If the value of |frame|’s [[Detached]] internal slot is true, return [=a promise rejected with=] a {{TypeError}} .
303
+ 1. If the value of |frame|’s {{platform object/ [[Detached]]}} internal slot is true, return [=a promise rejected with=] a {{TypeError}} .
305
304
1. If |generator|.`[[isMuted]] ` is false, send the media data backing |frame| to all live tracks sourced from |generator|.
306
305
1. Run the [=Close VideoFrame=] algorithm with |frame|.
307
306
1. Return [=a promise resolved with=] undefined.
You can’t perform that action at this time.
0 commit comments