<?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>248585</bug_id>
          
          <creation_ts>2022-11-30 22:22:57 -0800</creation_ts>
          <short_desc>currentTime progress even when playback has stalled</short_desc>
          <delta_ts>2022-12-06 02:23:47 -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>Media</component>
          <version>Other</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236722</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Jean-Yves Avenard [:jya]">jean-yves.avenard</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1915834</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-11-30 22:22:57 -0800</bug_when>
    <thetext>This problem got exposed in bug 236722.

In bug 236722, playback doesn&apos;t actually start unless the entire media has been fetched.
However, we can see that the progress bar is moving forward as if it did.

It shouldn&apos;t. Somehow we are not detecting that the underlying playback framework has stalled and we fail to notify the content process which in turn will incorrectly estimate the currentTime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915835</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-11-30 22:23:25 -0800</bug_when>
    <thetext>&lt;rdar://problem/102846199&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915836</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-11-30 22:29:26 -0800</bug_when>
    <thetext>actually, this has already been lodged. It got fixed but changes were reverted

*** This bug has been marked as a duplicate of bug 230210 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1916354</commentid>
    <comment_count>3</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-12-02 15:13:40 -0800</bug_when>
    <thetext>issue in bug 230210 can&apos;t be reproduced so let&apos;s start with a new bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1916367</commentid>
    <comment_count>4</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-12-02 15:47:56 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/7103</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1916369</commentid>
    <comment_count>5</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2022-12-02 15:51:10 -0800</bug_when>
    <thetext>problem can be seen when attempting to open the URL https://mediaserver.avenard.org/test/89041245.py?name=foo&amp;stallOffset=100000&amp;stallDuration=20&amp;chunkSize=1024 , playback will not start until 20s after the first frame has been displayed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1916899</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-06 02:23:45 -0800</bug_when>
    <thetext>Committed 257403@main (384fb5b098b8): &lt;https://commits.webkit.org/257403@main&gt;

Reviewed commits have been landed. Closing PR #7103 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>