File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ associated {{ReadableStream}} only when a read request has been issued on
108
108
the stream. The idea is to avoid the stream's internal buffering, which
109
109
does not give the UA enough flexibility to choose the buffering policy.
110
110
111
+ <p class="note">
112
+ Authors are encouraged to call close() on output {{VideoFrame|VideoFrames}} immediately when frames are no longer needed.
113
+ The underlying media resources are owned by the {{MediaStreamTrack}} 's source.
114
+ Failing to release them (or waiting for garbage collection) can cause the source to stop emiting {{VideoFrame|VideoFrames}} .
115
+ </p>
116
+
111
117
### Interface definition ### {#track-processor-interface}
112
118
113
119
<pre class="idl">
@@ -209,6 +215,8 @@ It is defined by running the following steps:
209
215
</dl>
210
216
211
217
### Handling interaction with the track ### {#processor-handling-interaction-with-track}
218
+ <dl>
219
+ <dd>
212
220
When the `[[track]] ` of a {{MediaStreamTrackProcessor}} |processor| delivers a
213
221
frame to |processor|, the UA MUST execute the [=handleNewFrame=] algorithm
214
222
with |processor| as parameter.
You can’t perform that action at this time.
0 commit comments