<?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>24934</bug_id>
          
          <creation_ts>2014-03-04 23:01:00 +0000</creation_ts>
          <short_desc>invalid definition for the “seekable” attribute when MediaStream is set to srcObject.  When seekable.length is “0”, seekable.start(0) and seekable.end(0) should not return currentTime.</short_desc>
          <delta_ts>2014-07-03 06:26:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Shijun Sun">shijuns</reporter>
          <assigned_to name="Adam Bergkvist">adam.bergkvist</assigned_to>
          <cc>harald</cc>
    
    <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101872</commentid>
    <comment_count>0</comment_count>
    <who name="Shijun Sun">shijuns</who>
    <bug_when>2014-03-04 23:01:00 +0000</bug_when>
    <thetext>There is an invalid definition for the “seekable” attribute when MediaStream is set to srcObject.  When seekable.length is “0”, seekable.start(0) and seekable.end(0) should not return currentTime. 

Propose to change the following in section 6.3

seekable.length MUST return 0.
seekable.start() MUST return currentTime.
seekable.end() MUST return currentTime.

To the following

seekable.length MUST return 0.
seekable.start(0) throws an IndexSizeError exception
seekable.end(0) throws an IndexSizeError exception</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105968</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-05-14 13:54:19 +0000</bug_when>
    <thetext>seekable.start() is invalid without an argument, so this solution is right.

We can even delete all mention of seekable.start() and seekable.end().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108677</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-07-03 06:26:47 +0000</bug_when>
    <thetext>A while back we decided to move the parts related to rendering a MediaStream in a media element to the media element spec, but this is such a small fix so I think it&apos;s worth doing anyhow.

Proposed fix: https://github.com/fluffy/webrtc-w3c/commit/bd02a816d35514a8b1ec609ec86233e2f1ad91c3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>