Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd videostream library to repackage mp4s for MediaSource API #370
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for the issue. This will be fixed soon! In the meantime, those looking for a workaround can see what instant.io does here: https://github.com/feross/instant.io/blob/master/client/index.js#L236 |
This comment has been minimized.
This comment has been minimized.
|
This is released as webtorrent 0.52. The commit log is pasted here for your reference: BREAKING: Add file.appendTo(); remove file.pipe(videoNode)Removed API
|
Some .mp4s, for example http://www.w3schools.com/html/mov_bbb.mp4 work properly when using instant.io for both seeding and downloading, but not when using instant.io for seeding and webtorrent's example code for downloading, because they are not compatible with the MediaSource API format. This can sometimes result in this exception:
Uncaught InvalidStateError: Failed to execute 'endOfStream' on 'MediaSource'Adding videostream support would allow playback of a wider range of files.