- From: Igarashi, Tatsuya <Tatsuya.Igarashi@jp.sony.com>
- Date: Fri, 30 Aug 2013 18:33:33 +0900
- To: "public-html-media@w3.org" <public-html-media@w3.org>
- Message-ID: <DAB1CC3FAB54D3438F667F8E7B7599A2021585D27FEB@JPTKYXMS218.jp.sony.com>
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. NOTE 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<mailto:Tatsuya.Igarashi@jp.sony.com>) Information Technology Development Div, R&D Platform Sony Corporation
Received on Friday, 30 August 2013 09:34:06 UTC