W3C home > Mailing lists > Public > public-html-media@w3.org > August 2013

Re: [MSE] Issue on seeking from the end time position

From: Eric Carlson <eric.carlson@apple.com>
Date: Fri, 30 Aug 2013 15:32:39 -0700
Cc: "Igarashi, Tatsuya" <Tatsuya.Igarashi@jp.sony.com>, public-html-media@w3.org, Paul Cotton <Paul.Cotton@microsoft.com>
Message-id: <FDAC18DB-E59E-43B2-8A91-9174A5614DE9@apple.com>
To: Hadar Weiss <hadar@peer5.com>

On Aug 30, 2013, at 3:11 PM, Paul Cotton <Paul.Cotton@microsoft.com> wrote:

> Which implementation of MSE are you using?

  And did you file bugs about the issues you found?


> Paul Cotton, Microsoft Canada
> 17 Eleanor Drive, Ottawa, Ontario K2E 6A3
> Tel: (425) 705-9596 Fax: (425) 936-7329
> From: Hadar Weiss [mailto:hadar@peer5.com] 
> Sent: Friday, August 30, 2013 6:10 AM
> To: Igarashi, Tatsuya
> Cc: public-html-media@w3.org
> Subject: Re: [MSE] Issue on seeking from the end time position
> From our experience at Peer5, MSE doesn't change it state from 'ended' to 'open' upon seek.
> We played with that quite a bit, and decided eventually not to call EndOfStream at all. The experience on was inconsistent when user seeked to the end of the video, and without calling endOfStream we managed just fine. Maybe on current/future versions the behaviour is better though. We haven't checked that recently.
> Best,
> Hadar Weiss
> CTO, Peer5.com
> On Fri, Aug 30, 2013 at 12:33 PM, Igarashi, Tatsuya <Tatsuya.Igarashi@jp.sony.com> wrote:
> Hi,
> I have a problem in the case of seeking from the end time position, i.e. video.currentTime== video.duration. The following NOTE of EndOfStream() descibles a very useful idea for the MPEG DASH and I use the endOfStream(null) when all media segments are appended to the source buffer. However this way does not allow to use the existing source buffer as the seek algorithm since the ready state becomes from “open” to “ended” by the endOFStream(null).  I wonder that seeking from the end time position should automatically change the readyState of the sourceBuffer from “ended” to “open” if endOFStream() is called without an error.
> This allows the duration to properly reflect the end of the appended media segments. For example, if the duration was explicitly set to 10 seconds and only media segments for 0 to 5 seconds were appended before endOfStream() was called, then the duration will get updated to 5 seconds.
> Thank you.
> -***---***---***---***---***---***---***---***---***--***---***---***-
> Tatsuya Igarashi (Tatsuya.Igarashi@jp.sony.com)
> Information Technology Development Div, R&D Platform
> Sony Corporation

Received on Friday, 30 August 2013 22:33:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:48:40 UTC