<?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>187171</bug_id>
          
          <creation_ts>2018-06-29 01:31:21 -0700</creation_ts>
          <short_desc>[GStreamer] mp4 video hosted on http server won&apos;t load</short_desc>
          <delta_ts>2018-08-02 03:29:05 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>bugs-noreply</cc>
    
    <cc>cturner</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1437721</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-06-29 01:31:21 -0700</bug_when>
    <thetext>https://sbc-qsystem-dev.pathfinder.gov.bc.ca/sbc_new.mp4

See also https://github.com/Igalia/meta-webkit/issues/18</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1437793</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-06-29 08:30:09 -0700</bug_when>
    <thetext>This seems to be yet another issue with our internal GStreamer httpsrc element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445690</commentid>
    <comment_count>2</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2018-07-27 04:20:20 -0700</bug_when>
    <thetext>I had some reports that r228603 &quot;[GStreamer] Push smaller buffers from HTTP source&quot; was causing MP4 files hosted via HTTP to fail loading in a downstream installation. It seemed like it might be related to this. However, that doesn&apos;t seem the case here.

What I have noticed is that this test works just fine for a number of runs. However, when it finds its way in the web / network cache, an interesting thing starts to happen. I see,

0:00:01.403721513    21       0xaea790 DEBUG           webkitwebsrc WebKitWebSourceGStreamer.cpp:503:operator():&lt;source&gt; Started request
(NetworkProcess) retrieving https://sbc-qsystem-dev.pathfinder.gov.bc.ca/sbc_new.mp4 priority 2
(NetworkProcess) Retrieval: revalidation already in progress for &apos;https://sbc-qsystem-dev.pathfinder.gov.bc.ca/sbc_new.mp4&apos;:

and then, 60 seconds later,

(NetworkProcess) Speculative revalidation completed for &apos;https://sbc-qsystem-dev.pathfinder.gov.bc.ca/sbc_new.mp4&apos;:

and the file starts playing. If I rm -rf ~/.cache and rerun the test, it doesn&apos;t stall for a minute at the start until the resource ends up cached again. If I run with the file hosted on my machine, I don&apos;t see such pauses.

So it seems something to do with a combination of caching and &quot;speculative revalidation&quot;, which I&apos;m unfamiliar with at the moment.

Does this match the situation your end Philippe?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446854</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-08-01 03:57:53 -0700</bug_when>
    <thetext>I wasn&apos;t the one affected by this issue. The original bug reporter is Gil, see the downstream Github issue mentioned in comment 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1447215</commentid>
    <comment_count>4</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2018-08-02 03:29:05 -0700</bug_when>
    <thetext>I can&apos;t reproduce this on trunk. https://trac.webkit.org/changeset/234497 may well have helped, but the issue described in the GitHub ticket I can not reproduce. I&apos;m closing this, please reopen if you have more information running with a recent WebKit (r234497 or later would be best).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>