[webkit-changes] [WebKit/WebKit] 233933: [GStreamer][WebRTC] Ensure audio outgoing source i...

Philippe Normand noreply at github.com
Tue Aug 15 04:18:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23393311b1ed08a3a0d265cb5bfec76b64217b9e
      https://github.com/WebKit/WebKit/commit/23393311b1ed08a3a0d265cb5bfec76b64217b9e
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingAudioSourceGStreamer.cpp
    M Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingAudioSourceGStreamer.h

  Log Message:
  -----------
  [GStreamer][WebRTC] Ensure audio outgoing source is stereo when negotiated through SDP
https://bugs.webkit.org/show_bug.cgi?id=259974

Reviewed by Xabier Rodriguez-Calvar.

The audio source might not be stereo in all cases, for instance the fallback source is mono by
default. So we need to make sure the audio stream is converted to stereo when needed.

* Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingAudioSourceGStreamer.cpp:
(WebCore::RealtimeOutgoingAudioSourceGStreamer::RealtimeOutgoingAudioSourceGStreamer):
(WebCore::RealtimeOutgoingAudioSourceGStreamer::setPayloadType):
* Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingAudioSourceGStreamer.h:

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




More information about the webkit-changes mailing list