Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 231262cc356b901d0734046cbbea8555941d6a46
      
https://github.com/WebKit/WebKit/commit/231262cc356b901d0734046cbbea8555941d6a46
  Author: Philippe Normand <ph...@igalia.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerIncomingTrackProcessor.cpp
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp

  Log Message:
  -----------
  [GStreamer][WebRTC] Request video key-frame when connecting incoming streams
https://bugs.webkit.org/show_bug.cgi?id=273238

Reviewed by Xabier Rodriguez-Calvar.

In some cases of remote peer sending H.264, the resulting depayloaded bitstream 
might not contain
SPS/PPS informations required for decoding. Without these the parser would 
discard frames until the
stream can be parsed, potentially leading to delay in setting up the video 
decoder. To workaround
this issue, issue a key-frame request as soon as a new src pad is exposed on 
webrtcbin, and also
when adding video pads to the mediastreamsrc element.

* 
Source/WebCore/platform/mediastream/gstreamer/GStreamerIncomingTrackProcessor.cpp:
(WebCore::GStreamerIncomingTrackProcessor::incomingTrackProcessor):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
(webkitMediaStreamSrcPadProbeCb):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to