You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it possible to have a better gauge on the correct mime-codec for MediaSource APIs if you analysed the file? There are tools are tools available such as mp4box.js, and we should only need the first few bytes to figure this out. Could we read enough data from the file's readstream and use that to get the full codec data before piping that and all the rest of the data to the writeStream for MediaSource?
The text was updated successfully, but these errors were encountered:
Yeah, this please ! I've been using webtorrent and some filenames have a .svg extension but the content is actually PNG. And therefore renderTo fails to give a blank image :/
Can the mime-type passed to File object when making the file and torrent be accessed in download ?
new window.File([response.data], filename, { type: 'image/png' })
Would it possible to have a better gauge on the correct mime-codec for MediaSource APIs if you analysed the file? There are tools are tools available such as mp4box.js, and we should only need the first few bytes to figure this out. Could we read enough data from the file's readstream and use that to get the full codec data before piping that and all the rest of the data to the writeStream for MediaSource?
The text was updated successfully, but these errors were encountered: