Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.71k
stars
1.4k
forks
source link
runOnReady disconnects the client when I`m trying to publish to RTMP #3514
runOnReady disconnects the client when I`m trying to publish to RTMP
Describe how to replicate the issue
I have run two mediamtx, one (localhost) is for pulling stream from some RTSP source , another is where I want to restream RTMP (10.10.10.3). I open the browser and connect to local mediamtx http://0.0.0.0:8889/test1/ and I see the video.
When I try to add runOnReady to restream into RTMP server (10.10.10.3), local mediamtx disconnects my client http://0.0.0.0:8889/test1/ for couple of seconds and just after it connects again and starts publishing to RTMP.
But when I don't use runOnReady and manually run the command
Which version are you using?
v1.8.3
Which operating system are you using?
Describe the issue
runOnReady disconnects the client when I`m trying to publish to RTMP
Describe how to replicate the issue
I have run two mediamtx, one (localhost) is for pulling stream from some RTSP source , another is where I want to restream RTMP (10.10.10.3). I open the browser and connect to local mediamtx http://0.0.0.0:8889/test1/ and I see the video. When I try to add runOnReady to restream into RTMP server (10.10.10.3), local mediamtx disconnects my client http://0.0.0.0:8889/test1/ for couple of seconds and just after it connects again and starts publishing to RTMP.
But when I don't use runOnReady and manually run the command
it doesn't disconnect me and every think work fine and gst-launch publishes to RTMP port of mediamtx 10.10.10.3
Did you attach the server logs?
yes mediamtx_runOnRead_log.txt run on ready command is presented in python code mediamtx_log_manual_command.txt manual command is presented in description
Did you attach a network dump?
no