Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GStreamer][LibWebRTC] Timestamp handling improvements in video decod…
…er factory https://bugs.webkit.org/show_bug.cgi?id=273757 Reviewed by Xabier Rodriguez-Calvar. The buffers injected into the parser pipeline are now timestamped by appsrc. The RTP timestamps are required by the LibWebRTC generic decoder in order to match parsed frames with input buffers, so they are attached on each buffers using a reference timestamp meta. * Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoDecoderFactory.cpp: (WebCore::GStreamerWebRTCVideoDecoder::GStreamerWebRTCVideoDecoder): (WebCore::GStreamerWebRTCVideoDecoder::pullSample): * Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.cpp: (WebCore::ensureDebugCategoryIsRegistered): (WebCore::convertGStreamerSampleToLibWebRTCVideoFrame): (WebCore::GStreamerVideoFrameLibWebRTC::ToI420): * Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoFrameLibWebRTC.h: Canonical link: https://commits.webkit.org/278447@main
- Loading branch information