-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RTMP live stream playback seems to be broken after v4.8.1 #1722
Comments
Looks like the issue was actually introduced after 4.11. I can play back RTMP fine using 4.10, but I get a hanging player using 4.11, so the change was introduced in the 4.11.0 release. Just to make sure, I retraced your steps and tried to use the 4.10 swf, but, as you experienced, no luck. My guess is that the Source Handler PR might be to blame here. |
Also having this issue with 4.11.0 and 4.11.1, it was working fine with 4.10.1, and I just reverted it to 4.10.2 which also works. |
I've seen this as well. I grabbed the latest source code and built my own version and found out It has something to do with the minified code. The unminified code works fine. Hope this helps someone track it down. |
I've narrowed down the bug. The problem derives from the renaming of the methods
inside flash.rtmp.js Replacing the names in the minified version does fix the bug. I couldn't find a way to add those 2 methods to exports.js, maybe someone else will. |
changing the following in flash.rtmp.js:
to
fixed the minification issue for me. |
Great to hear as we were having the same issue. Thanks for fixing it! |
I've been struggling with a bug that I've narrowed down to video.js, and it seems to appear after release 4.8.1 from what I can tell (as that was the last version that worked for me.)
In the latest version (4.11.1), and at least one other (4.10.2) I was unable to get my RTMP stream to work at all with anything but the Safari browser (using HLS). But version video.js 4.8.1 (which I had been using up tell a few weeks ago) worked perfectly for viewing live relayed RTMP video streams (coming from an nginx based server) in Safari and Chrome (Mac and Windows).
I've just run several tests (on a closed internal network sorry to say) between the old and new versions, and it is definitely a problem that was introduced after video.js 4.8.1. The viewing web page is a very basic player, no special code or features, and hard coded RTMP paths. My sever does both direct replay of live RTMP stream and HLS.
Here's the viewer code I tested with. The only change was swapping out the video.js code on the server.
Also, I tried replacing the video-js.swf file (v4.4.3) in video.js 4.8.1 with the newer (v4.5.2) .swf file, and that works fine. So I know that the problem is not with the .swf player itself.
If someone can tell me what else I should look for I can provide more info, but right now there's nothing showing up on the console or in my server logs when it works with 4.8.1, or when it doesn't work with the newer versions like 4.11.1. So I'm not sure how else to troubleshoot the problem at this point.
The text was updated successfully, but these errors were encountered: