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 {
895
895
interface RTCRtpScriptTransformer : EventTarget {
896
896
// Attributes and methods related to the transformer source
897
897
readonly attribute ReadableStream readable;
898
- Promise<unsigned long long > generateKeyFrame(optional DOMString rid);
898
+ Promise<undefined > generateKeyFrame(optional DOMString rid);
899
899
Promise<undefined> sendKeyFrameRequest();
900
900
// Attributes and methods related to the transformer sink
901
901
readonly attribute WritableStream writable;
@@ -1024,7 +1024,7 @@ For any {{RTCRtpScriptTransformer}} named |transformer|, the following steps are
1024
1024
1. For each |task| in |encoder|.`[[pendingKeyFrameTasks]] `, run the following steps:
1025
1025
1. If |frame| was generated by a video encoder identified by |task|.`[[rid]] `, run the following steps:
1026
1026
1. Remove |task| from |encoder|.`[[pendingKeyFrameTasks]] `.
1027
- 1. Resolve |task|.`[[promise]] ` with |frame|'s timestamp .
1027
+ 1. Resolve |task|.`[[promise]] ` with undefined .
1028
1028
1029
1029
By resolving the promises just before enqueuing the corresponding key frame in a {{RTCRtpScriptTransformer}} 's readable,
1030
1030
the 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