Closed ericxtang closed 4 years ago
Hi, you are totally right I reproduced the problem really easy. Try Safari and/or quicktime. I will take a look when I have a change but my guess is ffmpeg does NOT like HTTP chunked transfer
Thanks to your feedback I updated the guide: "Tested with following players: Safari, and Quicktime (there is a known problem with ffplay)"
Closing because there is a workaround (using other players: Safari and/or quicktime.)
Hi @jordicenzano - sorry I forgot to record in the previous video - I couldn't get Safari or Quicktime to work either. Here is another video for that
Could you show in a video (or post a screenshot) the network tab of dev utils in Safari
Instead of ./transcoding-multirendition-rtmp.sh live
could you try ./transcoding-multirendition-rtmp.sh test
(the script will also generate a test video for you, so no need for OBS)
PS: You have the same Safari version as me
When I run the test video, it plays for a few seconds, and then hangs. Safari seems to get stuck trying to load the segments, but also the video ingest seems to stop. So it's unclear if the ingest is the problem or the playback is the problem.
I ran this a few times, and noticed that the ingest runs fine if I don't watch the video. I see that you write files to disk and then pipe them into the ts segment server. Do you think it could be something going on with the file upload/download path?
Thanks a lot for being persistent. I did find a deadlock in the go-chunked-streaming-server, and I just committed a fix. Now it should work for any player (it works for ffplay
too)
You just need to:
git pull
the last master
version of go-chunked-streaming-servermake
Ahh - those file deletions.
Thanks for fixing the issue! Now it works really well. This is gonna help me get some early CDN testing done before we add LLHLS into Livepeer :)
Hi @jordicenzano, Thank you for publishing this demo! I tried to reproduce it and ran into some issues. I've recorded the issue here. Please take a look. I'd love to get this working in my dev environment.