Search code examples
htmlbuffermedia-source

Media Source - is it possible to have buffer that don't start with a key frame?


Using the media source extension, is it possible to do buffering in a way that buffers don't start with a key frame, but with a normal frame?

For instance, is it possible to buffer the video frame by frame? (Not saying that would be very smart to do!)


Solution

  • It is possible but obviously you won't be able to see video until you feed it with a key frame.

    Having said that, there is currently a limitation in Chrome causing failure to play video if fragments don't start with a key frame. see here: https://bugs.chromium.org/p/chromium/issues/detail?id=229412