- From: sheddup via GitHub <sysbot+gh@w3.org>
- Date: Sun, 02 Dec 2018 17:21:43 +0000
- To: public-html-media@w3.org
sheddup has just created a new issue for https://github.com/w3c/media-source: == How to seek outside of buffer? == Hi, I'm desperately looking for a working example of seeking outside of whats already buffered. I can't for the life of me find a working example on the internet and I've been googling for a long time about this issue. Here is my attempt https://sheddup.github.io/ This example appends the Init segment _(bytes 0-1104898)_ then waits for the user to click the seek button then fetches a segment starting @ 25s _(bytes 2209798-3314696)_ then sets video.currentTime to 25s Code here -> https://github.com/sheddup/sheddup.github.io/blob/master/bbb.js When I run https://sheddup.github.io/ Firefox throws `Media resource blob:https://sheddup.github.io/c9ca74cb-b020-4e80-ace2-f91e5915f51d could not be decoded.` in Chrome I get the error `CHUNK_DEMUXER_ERROR_APPEND_FAILED` as well as other errors. I've read the example code @ https://w3c.github.io/media-source/#examples but the seeking portion of this example is vague and incomplete at least that's my ignorant perception. Please view or discuss this issue at https://github.com/w3c/media-source/issues/225 using your GitHub account
Received on Sunday, 2 December 2018 17:21:45 UTC