<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>227904</bug_id>
          
          <creation_ts>2021-07-13 06:06:14 -0700</creation_ts>
          <short_desc>[GStreamer] RTSP playback broken</short_desc>
          <delta_ts>2025-01-30 09:47:39 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>philn</cc>
    
    <cc>w.vanhauwaert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1776609</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-07-13 06:06:14 -0700</bug_when>
    <thetext>player doesn&apos;t start. See also https://github.com/Igalia/meta-webkit/issues/293</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1818154</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-11-29 01:45:59 -0800</bug_when>
    <thetext>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 &amp;&amp; m_playbackRate)
-            changePipelineState(GST_STATE_PLAYING);
+        changePipelineState(GST_STATE_PLAYING);
         m_networkState = MediaPlayer::NetworkState::Loading;
         break;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2029817</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-04-19 07:39:55 -0700</bug_when>
    <thetext>Also requires network access from WebProcess...

I&apos;m inclined to WONTFIX this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2029818</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-04-19 07:40:29 -0700</bug_when>
    <thetext>There are alternatives, such as https://github.com/deepch/RTSPtoWebRTC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090422</commentid>
    <comment_count>4</comment_count>
    <who name="Wouter Vanhauwaert">w.vanhauwaert</who>
    <bug_when>2025-01-29 06:16:00 -0800</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090723</commentid>
    <comment_count>5</comment_count>
    <who name="Wouter Vanhauwaert">w.vanhauwaert</who>
    <bug_when>2025-01-30 07:44:50 -0800</bug_when>
    <thetext>Currently I&apos;m using 2.46.5, and without this patch, rtsp video streaming is working, so I guess this one can be closed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>