[webkit-changes] [WebKit/WebKit] 634131: [GStreamer] Support for bitrate-mode and latency-m...
Philippe Normand
noreply at github.com
Thu Jan 12 04:47:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 634131b13519fc84dee0e194bf1824d7d6ef6034
https://github.com/WebKit/WebKit/commit/634131b13519fc84dee0e194bf1824d7d6ef6034
Author: Philippe Normand <philn at igalia.com>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.cpp
Log Message:
-----------
[GStreamer] Support for bitrate-mode and latency-mode configuration in the video encoder
https://bugs.webkit.org/show_bug.cgi?id=250385
Reviewed by Xabier Rodriguez-Calvar.
The video encoder can now be configured to encode at constant (default) or variable bitrate. The
default latency mode is set to realtime, for WebRTC use-cases, but can be set to "quality", if
mandated by WebCodecs video encoder configuration.
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.cpp:
(webrtcVideoEncoderBitrateModeGetType):
(webrtcVideoEncoderLatencyModeGetType):
(Encoders::registerEncoder):
(webrtcVideoEncoderGetProperty):
(webrtcVideoEncoderSetProperty):
(webkit_webrtc_video_encoder_class_init):
Canonical link: https://commits.webkit.org/258825@main
More information about the webkit-changes
mailing list