New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request keyframe via setParameters #167
Conversation
use setParameters() which is often used in situations that may yield a key frame such as resizing the video. The semantic of that flag is the same as the RTCP FIR semantics from https://www.rfc-editor.org/rfc/rfc5104#section-3.5.1
This issue had an associated resolution in WebRTC May 2023 meeting – 16 May 2023 (Issue #158 / PR #167: Requesting a key frame via setParameters):
|
This issue was mentioned in WEBRTCWG-2023-05-16 (Page 24) |
Current proposal (PR is not updated yet)
with VideoEncoderEncodeOptions from WebCodecs |
This issue had an associated resolution in WebRTC June 2023 meeting – 27 June 2023 (Requesting keyframes via setParameters (WebRTC Extensions)):
|
Updated, names are probably going to be subject to discussion. @dontcallmedom: CI failure is
which seems unrelated? |
Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
ac996ed
to
f39d0cb
Compare
Co-authored-by: Dominique Hazael-Massieux <dom@w3.org>
(I cannot reproduce the markup error locally; I suggest this can be merged, and I'll deal with the consequences if the error remains after merging) |
…etParameters Both are defined as empty in order to allow webrtc-extensions to extend them which is done in w3c/webrtc-extensions#167
…etParameters Both are defined as empty in order to allow webrtc-extensions to extend them which is done in w3c/webrtc-extensions#167
…etParameters Both are defined as empty in order to allow webrtc-extensions to extend them which is done in w3c/webrtc-extensions#167
Co-authored-by: Jan-Ivar Bruaroey <jan-ivar@users.noreply.github.com>
Co-authored-by: henbos <hbos@google.com>
Co-authored-by: henbos <hbos@google.com>
after the W3C changes in approach documented here: w3c/webrtc-extensions#167 chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Note that this does not follow the route taken by the W3C API but still considers this flag a part of the encodingParameters. BUG=chromium:1354101 Change-Id: If0f0ec09bebddea1f01dd8afbe4747c21afe6793 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286741 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#40656}
Upstream commit: https://webrtc.googlesource.com/src/+/82c56ca7946181281c466343127f12c20727495a Request keyframe via setParameters after the W3C changes in approach documented here: w3c/webrtc-extensions#167 chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Note that this does not follow the route taken by the W3C API but still considers this flag a part of the encodingParameters. BUG=chromium:1354101 Change-Id: If0f0ec09bebddea1f01dd8afbe4747c21afe6793 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286741 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#40656}
Upstream commit: https://webrtc.googlesource.com/src/+/82c56ca7946181281c466343127f12c20727495a Request keyframe via setParameters after the W3C changes in approach documented here: w3c/webrtc-extensions#167 chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Note that this does not follow the route taken by the W3C API but still considers this flag a part of the encodingParameters. BUG=chromium:1354101 Change-Id: If0f0ec09bebddea1f01dd8afbe4747c21afe6793 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/286741 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#40656}
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577}
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577}
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577}
…r.setParameters, a=testonly Automatic update from web-platform-tests webrtc: add setParameterOptions to sender.setParameters adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577} -- wpt-commits: 3be83c4de8cafc13d4c00f3e9ddb07132a8a0705 wpt-pr: 43705
…r.setParameters, a=testonly Automatic update from web-platform-tests webrtc: add setParameterOptions to sender.setParameters adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577} -- wpt-commits: 3be83c4de8cafc13d4c00f3e9ddb07132a8a0705 wpt-pr: 43705
adding a new RTCSetParameterOptions object which has a sequence of RTCEncodingOptions similar to WebCodecs VideoEncoderEncodeOptions https://w3c.github.io/webcodecs/#dictdef-videoencoderencodeoptions and its keyFrame flag. On the native side, this adds the request_key_frame flag to the RtpEncodingParameters. WebRTC CL: https://webrtc-review.googlesource.com/c/src/+/286741 Spec PRs: w3c/webrtc-pc#2885 w3c/webrtc-extensions#167 Chromestatus feature: https://chromestatus.com/feature/5161082937409536 BUG=chromium:1354101 Change-Id: I5bfe266eac5990b1921212babdee1af35edc4242 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4643591 Reviewed-by: Harald Alvestrand <hta@chromium.org> Commit-Queue: Philipp Hancke <phancke@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1249577}
Fixes #158
use setParameters() which is often used in situations that may yield a key frame such as resizing the video.
The semantic of that flag is the same as the RTCP FIR semantics from
https://www.rfc-editor.org/rfc/rfc5104#section-3.5.1
Preview | Diff