nginx-rtmp-module icon indicating copy to clipboard operation
nginx-rtmp-module copied to clipboard

rtmp can't be played which is pushed from another nginx

Open lystormenvoy opened this issue 7 years ago • 6 comments

image

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. image But I can't play rtmp stream image

If I use ffmpeg to push to 10.152.95.62 directly, I can play the rtmp stream.

How can I solve this problem?

lystormenvoy avatar Jul 09 '18 10:07 lystormenvoy

I found that if I add "meta copy" in nginx.conf of the edge servers, will cause this problem. Remove and solve. So why? image

lystormenvoy avatar Jul 10 '18 02:07 lystormenvoy

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

lisafei avatar May 08 '19 02:05 lisafei

Hey, Any update on this issue? I'm facing the same problem.

vasudevavarun avatar Aug 19 '19 07:08 vasudevavarun

Hey, Any update on this issue? I'm facing the same problem.

remove "meta copy;"

lystormenvoy avatar Aug 21 '19 09:08 lystormenvoy

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;
        }
    }
}

rt4mn avatar Feb 10 '22 03:02 rt4mn

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

lystormenvoy avatar Apr 27 '22 01:04 lystormenvoy