Skip to content

Commit 87c59ca

Browse files
committed
Rename requestKeyFrame to sendKeyFrameRequest
1 parent 01560cc commit 87c59ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ interface RTCRtpScriptTransformer {
336336
readonly attribute WritableStream writable;
337337
readonly attribute any options;
338338
Promise<undefined> generateKeyFrame(optional sequence <DOMString> rids);
339-
Promise<undefined> requestKeyFrame();
339+
Promise<undefined> sendKeyFrameRequest();
340340
};
341341

342342
[Exposed=Window]
@@ -384,9 +384,9 @@ The <dfn method for="RTCRtpScriptTransformer">generateKeyFrame(|rids|)</dfn> met
384384
1. [=In parallel=], run the [=generate key frame algorithm=] with |promise|, |this|.`[[encoder]]` and |rids|.
385385
1. Return |promise|.
386386

387-
The <dfn method for="RTCRtpScriptTransformer">requestKeyFrame()</dfn> method steps are:
387+
The <dfn method for="RTCRtpScriptTransformer">sendKeyFrameRequest()</dfn> method steps are:
388388
1. Let |promise| be a new promise.
389-
1. [=In parallel=], run the [=request key frame algorithm=] with |promise| and |this|.`[[depacketizer]]`.
389+
1. [=In parallel=], run the [=send request key frame algorithm=] with |promise| and |this|.`[[depacketizer]]`.
390390
1. Return |promise|.
391391

392392
## Attributes ## {#RTCRtpScriptTransformer-attributes}
@@ -418,7 +418,7 @@ The <dfn>generate key frame algorithm</dfn>, given |promise|, |encoder| and |rid
418418
1. Wait until a new video frame is provided to each |videoEncoder| in |videoEncoders|.
419419
1. [=Resolve=] |promise| with undefined.
420420

421-
The <dfn>request key frame algorithm</dfn>, given |promise| and |depacketizer|, is defined by running these steps:
421+
The <dfn>send request key frame algorithm</dfn>, given |promise| and |depacketizer|, is defined by running these steps:
422422
1. If |depacketizer| is undefined, reject |promise| with {{InvalidStateError}}, abort these steps.
423423
1. If sending a Full Intra Request (FIR) by |depacketizer|'s receiver is not deemed appropriate, [=resolve=] |promise| with undefined and abort these steps.
424424
Section 4.3.1 of [[RFC5104]] provides guidelines of how and when it is appropriate to sending a Full Intra Request.

0 commit comments

Comments
 (0)