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 upsrc=(unknown) with appendTo() method on chrome #1556
Comments
This comment has been minimized.
This comment has been minimized.
|
This might be a regression with Chrome 71? Video starts ? and then src will go unknown and video will stop? |
This comment has been minimized.
This comment has been minimized.
|
Thanks for your reply. |
This comment has been minimized.
This comment has been minimized.
|
I confirm that i managed to try with a previous of chrome 70 and i dont have this problem... |
This comment has been minimized.
This comment has been minimized.
|
Google removed something from media stream. I think this is quite a bumper. Videos on 71 does not load |
This comment has been minimized.
This comment has been minimized.
|
@dannylazarow2 THanks for your reply. So maybe its the feross mediasource package that should be fixed. This file more especially: |
This comment has been minimized.
This comment has been minimized.
|
Sent a PR. We need @feross though. |
This comment has been minimized.
This comment has been minimized.
|
This works in Chrome Canary, so it's likely a regression in Chrome itself. To test it, go to https://webtorrent.io in Chrome 71 (streaming doesn't work, falls back to blob approach) and 73 (does work). The deprecation of |
This fixes up the console errors on webtorrent.io right now, but Chrome 71 still doesn't support streaming (webtorrent/webtorrent#1556)
This comment has been minimized.
This comment has been minimized.
|
@jhiesey said that the file works fine when the audio track is removed from the file. It seems that perhaps Chrome has gotten more strict about rejecting malformed files? I found these recent issues which seem to indicate this:
But it's a good sign that the file works in Canary. Perhaps they reverted the change that caused this issue and this will fix itself in a future Chrome version? |
This comment has been minimized.
This comment has been minimized.
|
Thanks for your reactivity. So the idea is maybe to wait the next version (of chrome) before applying any changes? |
This comment has been minimized.
This comment has been minimized.
|
I think we can close this issue |
What version of WebTorrent?
webtorrent@latest
as of today
What operating system and Node.js version?
macos mojave
What browser and version? (if using WebTorrent in the browser)
Chrome 71.0.3
What did you expect to happen?
my script was initially working on chrome but stopped to work recently.
It is still working on firefox (and opera)
(obviously only with mp4 files)
What actually happened?
file.appendTo('body')will make the correct blob value of attribute src
but after several seconds of loading the src will be like this
src=(unknown)and make the video not playable

I tried to remove all history of chrome and executing this command:
find ~/Library/Caches/ -type f -name "*" -deleteto be sure i have no cache problem
but still its not working either LOCALLY or on a aws s3 bucket