-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
stopped: timed out when pulling from nginx-rtmp #2383
Comments
Hello, thanks for reporting the bug and for providing detailed instructions that allowed to replicate everything. This is fixed by #2520 |
aler9
added a commit
that referenced
this issue
Oct 17, 2023
added in v1.2.1 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Which version are you using?
v1.1.0
Which operating system are you using?
Describe the issue
MediaMTX is unable to pull stream from nginx-rtmp, while FFmpeg reads it correctly.
When pulling from a different instance of nginx-rtmp (not on localhost and with different config), other, unrelated error occurs (
unsupported video codec
) which I'll report later.Describe how to replicate the issue
docker run -d -p 1936:1935 --name nginx-rtmp tiangolo/nginx-rtmp
ffmpeg -re -f lavfi -i testsrc2=r=25 -f lavfi -i anoisesrc=color=brown -c:v libx264 -g 25 -c:a aac -f flv rtmp://127.0.0.1:1936/live/aaaaaa
MTX_API=true MTX_APIADDRESS=:9997 MTX_LOGLEVEL=debug ./mediamtx mediamtx.yml
(config is the default provided with binary release package)curl -vv -d '{"source":"rtmp://127.0.0.1:1936/live/aaaaaa","sourceOnDemand":true}' -X POST -H 'Content-Type: application/json' http://localhost:9997/v2/config/paths/add/fromnginx
ffprobe rtmp://localhost/fromnginx
, ffprobe will returnInput/output error
and MediaMTX will showread tcp 127.0.0.1:38714->127.0.0.1:1936: i/o timeout
ffprobe rtmp://127.0.0.1:1936/live/aaaaaa
Did you attach the server logs?
yes, timeout_bug_mediamtx.log
Did you attach a network dump?
yes
The text was updated successfully, but these errors were encountered: