File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -897,7 +897,7 @@ partial interface DedicatedWorkerGlobalScope {
897897interface RTCRtpScriptTransformer : EventTarget {
898898 // Attributes and methods related to the transformer source
899899 readonly attribute ReadableStream readable;
900- Promise<unsigned long long > generateKeyFrame(optional DOMString rid);
900+ Promise<undefined > generateKeyFrame(optional DOMString rid);
901901 Promise<undefined> sendKeyFrameRequest();
902902 // Attributes and methods related to the transformer sink
903903 readonly attribute WritableStream writable;
@@ -1026,7 +1026,7 @@ For any {{RTCRtpScriptTransformer}} named |transformer|, the following steps are
102610261. For each |task| in |encoder|.`[[pendingKeyFrameTasks]] `, run the following steps:
10271027 1. If |frame| was generated by a video encoder identified by |task|.`[[rid]] `, run the following steps:
10281028 1. Remove |task| from |encoder|.`[[pendingKeyFrameTasks]] `.
1029- 1. Resolve |task|.`[[promise]] ` with |frame|'s timestamp .
1029+ 1. Resolve |task|.`[[promise]] ` with undefined .
10301030
10311031By resolving the promises just before enqueuing the corresponding key frame in a {{RTCRtpScriptTransformer}} 's readable,
10321032the resolution callbacks of the promises are always executed just before the corresponding key frame is exposed.
You can’t perform that action at this time.
0 commit comments