Bug 227904
Summary: | [GStreamer] RTSP playback broken | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | philn, w.vanhauwaert |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
player doesn't start. See also https://github.com/Igalia/meta-webkit/issues/293
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Workaround:
diff --git a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
index b6911dff7994..ba5c2412f796 100644
--- a/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
+++ b/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
@@ -2348,8 +2348,7 @@ void MediaPlayerPrivateGStreamer::updateStates()
else if (m_currentState == GST_STATE_PLAYING)
m_isPaused = false;
- if (!m_isPaused && m_playbackRate)
- changePipelineState(GST_STATE_PLAYING);
+ changePipelineState(GST_STATE_PLAYING);
m_networkState = MediaPlayer::NetworkState::Loading;
break;
Philippe Normand
Also requires network access from WebProcess...
I'm inclined to WONTFIX this.
Philippe Normand
There are alternatives, such as https://github.com/deepch/RTSPtoWebRTC
Wouter Vanhauwaert
WebRTC is not supporting ip multicast IIRC
In a use case in a lan environment where one device is multicasting video to many receivers, this is needed
Wouter Vanhauwaert
Currently I'm using 2.46.5, and without this patch, rtsp video streaming is working, so I guess this one can be closed