-
-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] rtmp url stuck after a while #241
Comments
Hello, |
I believe I am facing the same issue and I can't seem to figure out why its happening other than something getting stuck somewhere, sometimes it works, sometimes it doesnt; the I use OBS to stream to I have build ffmpeg myself
I believe the issue is either with ffmpeg not being able to handle the rtmp stream properly or the rtmp module not responding at all for some reason
my current config is the following, probably not relevant though
OS: Linux 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux if any other information might be useful I can add it edit: im not sure if this is relevant, but I feel like this exact same issue has been existing years ago if its the same thing, it also got stuck after sending the play instruction https://ffmpeg-user.ffmpeg.narkive.com/IkvMsQ56/ffmpeg-hangs-when-encoding-rtmp-input-stream |
@hawolt @winshining |
I had some more time to run some testing, it seems like the issue is actually not ffmpeg for this since VLC is unable to play the rtmp stream either, when ffmpeg works VLC will also work, I wrote a local rtmp client which also gets stuck waiting for data after the same rtmp message - so something is fauly in either nginx or the rtmp module; I'll stop communication here now and go to the original repo |
@hawolt |
Hello,
I have weird issue with rtmp url its stuck and not responding after a while and to solve issue must be restart nginx force
for example
when I send stream from any encoder or from the same local server from ffmpeg to the nginx rtmp info it works properly on both rtmp and hls (m3u8) urls
after while rtmp stuck and not responding but the hls for m3u8 works properly without issue and need to restart force nginx to solve the issue with the rtmp url
*** and not any error log appear for this case its just stuck and not responding
also I tried to check the rtmp url on same local server with ffprobe command and also not responding
ffprobe -v quiet -print_format json -show_streams rtmp://127.0.0.1:2485/user1/user1
nginx version :
test on nginx version: nginx/1.22.1 and nginx version: nginx/1.18.0 both same issue
OS tested :
CentOS stream 8 and Ubuntu 22
any hint to how to check the reason specially not any thing appear with error logs related with this
Regards
The text was updated successfully, but these errors were encountered: