[webkit-changes] [WebKit/WebKit] 2295af: [GStreamer][WebRTC] Video encoder capabilities pro...

Philippe Normand noreply at github.com
Mon Jan 9 06:26:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2295aff2e623a55981e391a4e411073a855e9e56
      https://github.com/WebKit/WebKit/commit/2295aff2e623a55981e391a4e411073a855e9e56
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.h

  Log Message:
  -----------
  [GStreamer][WebRTC] Video encoder capabilities probing support
https://bugs.webkit.org/show_bug.cgi?id=249936

Reviewed by Xabier Rodriguez-Calvar.

The registry scanner is now able to check the H.264 encoding capabilies of the host. Also, when more
than one platform encoder is capable of encoding to the target format, only the one with the highest
rank is selected.

* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::fillVideoRtpCapabilities):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.cpp:
(webrtcVideoEncoderFindForFormat):
(webrtcVideoEncoderSupportsFormat):
(webrtcVideoEncoderSetFormat):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoEncoder.h:

Canonical link: https://commits.webkit.org/258663@main




More information about the webkit-changes mailing list