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