nginx-rtmp-module
nginx-rtmp-module copied to clipboard
rtmp can't be played which is pushed from another nginx

This is serverA nginx.conf, push stream to 10.152.95.62 and 10.152.95.63.
I can see In bits/s in stat page on 10.152.95.62
I also can find ts file on server. HLS can be played.
But I can't play rtmp stream

If I use ffmpeg to push to 10.152.95.62 directly, I can play the rtmp stream.
How can I solve this problem?
I found that if I add "meta copy" in nginx.conf of the edge servers, will cause this problem. Remove and solve.
So why?

meta copy!ScriptDataTag in flv start on OnMetaData. when publish stream to transpond , ScriptDataTag inclould |@setDataFrame|onMetaData|Object|, push to next transpond, only send |onMetaData|Object|, at this time ,meta copy data only |object|,lost the onMetaData. so can't play .
simple solution, when ScriptDataTag start by onMetaData, don't offset the head of onMetaData, meta copy success.
poor english
Hey, Any update on this issue? I'm facing the same problem.
Hey, Any update on this issue? I'm facing the same problem.
remove "meta copy;"
Hey, Any update on this issue? I'm facing the same problem.
remove "meta copy;"
Remove "meta copy;" from where, exactly? I don't have that anywhere in my nginx configs, and I am apparently suffering from this same issue, see https://github.com/Chocobozzz/PeerTube/issues/4778
Current nginx config on the vps is:
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
push rtmp://stream.cyberia.club/live/streamkey
push rtmp://live.twitch.tv/app/live_streamkey;
push rtmp://a.rtmp.youtube.com/live2/streamkey;
push rtmp://watch.rt4mn.org:1935/live/streamkey;
}
}
}
Hey, Any update on this issue? I'm facing the same problem.
remove "meta copy;"
Remove "meta copy;" from where, exactly? I don't have that anywhere in my nginx configs, and I am apparently suffering from this same issue, see Chocobozzz/PeerTube#4778
Current nginx config on the vps is:
rtmp { server { listen 1935; chunk_size 4096; application live { live on; record off; push rtmp://stream.cyberia.club/live/streamkey push rtmp://live.twitch.tv/app/live_streamkey; push rtmp://a.rtmp.youtube.com/live2/streamkey; push rtmp://watch.rt4mn.org:1935/live/streamkey; } } }
Hi, the meta copy is in edge server. For you maybe means the config of stream.cyberia.club