<?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>198377</bug_id>
          
          <creation_ts>2019-05-30 09:14:28 -0700</creation_ts>
          <short_desc>[GStreamer] HLS stream slow start</short_desc>
          <delta_ts>2019-09-30 13:15:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</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>
          <dependson>202204</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alberto Garcia">berto</reporter>
          <assigned_to name="Philippe Normand">pnormand</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1540313</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2019-05-30 09:14:28 -0700</bug_when>
    <thetext>There was regression in WebKitGTK 2.24.1 that prevented the user from
playing certain kinds of internet radios. This was filed as bug 197410
and fixed.

It seems that even after the fix the playback of those streams is much
slower than in WebKitGTK 2.24.0.

Here are the steps (as reported by a Debian user):

             ---------------------------------------------------
1) Go to http://radio.dos.nl/
2) Go to settings (drop down in right top corner)
3) Click &quot;Choose protocol&quot; until it shows HLS
4) Click on arrow (back to radio)
5) Click on &quot;Page menu&quot; (bottom left corner) and choose &quot;news&quot;
6) switch between the BBC stations (they&apos;re all HLS)

(check the Info button on the left top corner, at the bottom of the
info page there is the protocol that is used, it should show &quot;HLS&quot;)

2.24.0 takes only tenths of a second (switches almost immediately),
2.24.1/2.24.2 takes several seconds. This is an issue that shows up with HLS
stations. 2.24.0 switches much faster anyway.
             ---------------------------------------------------

In addition to that there&apos;s also this problem, reported by the same
user:

             ---------------------------------------------------
switching too fast between two HLS stations (e.g. 5 Live and BBC
Worldservice) makes the whole beast hang.  No way anymore to switch
between stations. Note: I use a Debian unmodified version of the
&quot;surf&quot; webbrowser to play these stations. I need to stop &quot;surf&quot; in
order to make it work again.
             ---------------------------------------------------

There&apos;s another regression that I filed as bug 198376 which might be
related to this one. I chose to file them as separate bugs for the
time being.

Original Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929749</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544033</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-06-12 04:56:57 -0700</bug_when>
    <thetext>(In reply to Alberto Garcia from comment #0)

[...]
&gt; 
&gt; 2.24.0 takes only tenths of a second (switches almost immediately),
&gt; 2.24.1/2.24.2 takes several seconds. This is an issue that shows up with HLS
&gt; stations. 2.24.0 switches much faster anyway.

I have a potential patch for this, will attach it here.

&gt;              ---------------------------------------------------
&gt; switching too fast between two HLS stations (e.g. 5 Live and BBC
&gt; Worldservice) makes the whole beast hang.  No way anymore to switch
&gt; between stations. Note: I use a Debian unmodified version of the
&gt; &quot;surf&quot; webbrowser to play these stations. I need to stop &quot;surf&quot; in
&gt; order to make it work again.

This is https://bugs.webkit.org/show_bug.cgi?id=197558

&gt; 
&gt; There&apos;s another regression that I filed as bug 198376 which might be
&gt; related to this one. I chose to file them as separate bugs for the
&gt; time being.
&gt; 

I&apos;ll have a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544053</commentid>
    <comment_count>2</comment_count>
      <attachid>371949</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-06-12 06:29:25 -0700</bug_when>
    <thetext>Created attachment 371949
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544061</commentid>
    <comment_count>3</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2019-06-12 06:56:35 -0700</bug_when>
    <thetext>Phil, I think it would make sense to write a quick test for this, don&apos;t you think?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544062</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-06-12 06:59:21 -0700</bug_when>
    <thetext>A test measuring start-up time? How?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544453</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-06-13 07:05:01 -0700</bug_when>
    <thetext>Committed r246399: &lt;https://trac.webkit.org/changeset/246399&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>371949</attachid>
            <date>2019-06-12 06:29:25 -0700</date>
            <delta_ts>2019-06-12 06:53:07 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-198377-20190612142924.patch</filename>
            <type>text/plain</type>
            <size>1873</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjQ2MzQ5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggNGEyNzVkMDVhMzAxM2Vl
N2Q5N2E4OTU3YTdiOTA3Y2ExMTZjN2QzZi4uN2EzZmVkM2M1Yjk4MjM4MTgzZDBhZGEyYjhkYmMy
NjkyM2Q0NzI3MSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlT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hcHRlci5nZXQoKSk7
CiAgICAgICAgICAgICBpZiAoYXZhaWxhYmxlICYmIGF2YWlsYWJsZSA8IHNpemUpCg==
</data>
<flag name="review"
          id="387727"
          type_id="1"
          status="+"
          setter="calvaris"
    />
          </attachment>
      

    </bug>

</bugzilla>