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 @@ -895,7 +895,7 @@ partial interface DedicatedWorkerGlobalScope {
895895interface RTCRtpScriptTransformer : EventTarget {
896896 // Attributes and methods related to the transformer source
897897 readonly attribute ReadableStream readable;
898- Promise<unsigned long long > generateKeyFrame(optional DOMString rid);
898+ Promise<undefined > generateKeyFrame(optional DOMString rid);
899899 Promise<undefined> sendKeyFrameRequest();
900900 // Attributes and methods related to the transformer sink
901901 readonly attribute WritableStream writable;
@@ -1024,7 +1024,7 @@ For any {{RTCRtpScriptTransformer}} named |transformer|, the following steps are
102410241. For each |task| in |encoder|.`[[pendingKeyFrameTasks]] `, run the following steps:
10251025 1. If |frame| was generated by a video encoder identified by |task|.`[[rid]] `, run the following steps:
10261026 1. Remove |task| from |encoder|.`[[pendingKeyFrameTasks]] `.
1027- 1. Resolve |task|.`[[promise]] ` with |frame|'s timestamp .
1027+ 1. Resolve |task|.`[[promise]] ` with undefined .
10281028
10291029By resolving the promises just before enqueuing the corresponding key frame in a {{RTCRtpScriptTransformer}} 's readable,
10301030the 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