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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29271</bug_id>
          
          <creation_ts>2015-11-09 15:16:40 +0000</creation_ts>
          <short_desc>[MSE]  No way to implement sliding window for DVR</short_desc>
          <delta_ts>2015-11-09 21:37:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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="Nikolay Dimitrov">nikolay.dimitrov</reporter>
          <assigned_to name="Matt Wolenetz">wolenetz</assigned_to>
          <cc>jdsmith</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124132</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay Dimitrov">nikolay.dimitrov</who>
    <bug_when>2015-11-09 15:16:40 +0000</bug_when>
    <thetext>The HTML5 specification states the following about media.seekable:
&quot;The range might be continuously changing, e.g. if the user agent is buffering a sliding window on an infinite stream. This is the behavior seen with DVRs viewing live TV, for instance.&quot;

However, there is no way to implement this with MSE. It is only possible to modify the duration (the end of the seekable range), but there is no way to modify the start of the seekable range. Currently to implement DVR I have to use a custom progress bar and to translate seek requests in the proper range.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124143</commentid>
    <comment_count>1</comment_count>
    <who name="Matt Wolenetz">wolenetz</who>
    <bug_when>2015-11-09 21:37:41 +0000</bug_when>
    <thetext>nikolay.dimitrov@viblast.com: Thank you for reporting this. We have recently moved the bug tracking for MSE to github (https://github.com/w3c/media-source/issues). Especially, please see https://github.com/w3c/media-source/issues/5 and comment on that issue whether or not the proposed solution would satisfy your concerns mentioned on this bug. In the meantime, I will close this bugzilla bug. If you deem your concerns to be distinct enough from https://github.com/w3c/media-source/issues/5, please file a new github issue for the MSE spec.

With respect to maintaining a custom UI/seeking bar, that may still be required of apps for best UX, even if there is an API for modifying the seekable range(s) of an MSE-attached HTMLMediaElement. However, ability of the app to specify range(s) to which MSE seeks must be clamped in a standardized fashion was indeed deemed to be a useful MSE v.1 feature, and such specification is tracked in https://github.com/w3c/media-source/issues/5.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>