arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.36k stars 3.51k forks source link

RTMP Pull Url Is Not [rtmp://]host[:port][/app[/playpath]],How i can use pull directive #1654

Open LancCJ opened 2 years ago

LancCJ commented 2 years ago

hi,i use this module Directive pull,but my rtmp url is : rtmp://10.67.89.191:19041/live/0/32057100001127007720, this url is right ,i can pull content from vlc,like this 微信截图_20211215171004 but when i use this module directive pull, my config file is like this ` rtmp_auto_push on;

rtmp {

server {

    listen 9999;
    chunk_size 4096;

    application mypull_a {
        live on;
        pull rtmp://192.168.41.172:1956/live/first name=testa;
    }

    # this have problem 
    application mypull_b {
        live on;
        pull rtmp://10.67.89.191:19041/live/0/32057100001127007720 live=1 name=testb;
    }

}

} `

throught vlc is error,the content is black

微信截图_20211215171214

i doubt my url is wrong not match Url syntax: [rtmp://]host[:port][/app[/playpath]]

right? how i can use this url and use directive pull ?

weedsacc commented 7 months ago

Guys, I also need the same answer.