nginx-rtmp-module
nginx-rtmp-module copied to clipboard
Use Pull Get Some Error,Help Me,Please
when i use directive pull like this my rtmp url is : rtmp://10.67.89.191:19041/live/0/32057100001127007720 the port is not 1935
nginx config code like this
` rtmp_auto_push on;
rtmp {
server {
listen 1935;
chunk_size 4096;
application mypull {
live on;
pull rtmp://10.67.89.191:19041 app=live playPath=0 live=1;
}
}
} `
and the debug info is
2021/12/15 13:39:31 [notice] 10844#7180: using the "select" event method 2021/12/15 13:39:31 [notice] 10844#7180: openresty/1.19.9.1 2021/12/15 13:39:31 [info] 10844#7180: OS: 300000 build:18363, "", suite:100, type:1 2021/12/15 13:39:31 [notice] 10844#7180: start worker processes 2021/12/15 13:39:31 [notice] 10844#7180: start worker process 2520 2021/12/15 13:39:31 [notice] 2520#4992: openresty/1.19.9.1 2021/12/15 13:39:31 [info] 2520#4992: OS: 300000 build:18363, "", suite:100, type:1 2021/12/15 13:39:31 [notice] 2520#4992: create thread 19600 2021/12/15 13:39:31 [notice] 2520#4992: create thread 7976 2021/12/15 13:39:31 [notice] 2520#4992: create thread 10780 2021/12/15 13:39:47 [info] 2520#19600: *140694538682369 client connected '192.168.41.172' 2021/12/15 13:39:47 [info] 2520#19600: *1 connect: app='mypull' args='' flashver='LNX 9,0,124,2' swf_url='' tc_url='rtmp://192.168.41.172:1935/mypull' page_url='' acodecs=4071 vcodecs=252 object_encoding=0, client: 192.168.41.172, server: 0.0.0.0:1935 2021/12/15 13:39:47 [info] 2520#19600: *1 createStream, client: 192.168.41.172, server: 0.0.0.0:1935 2021/12/15 13:39:47 [info] 2520#19600: *1 play: name='32057100001127007720' args='' start=-2000 duration=0 reset=0 silent=0, client: 192.168.41.172, server: 0.0.0.0:1935 2021/12/15 13:39:47 [info] 2520#19600: *1 relay: create pull name='32057100001127007720' app='live' playpath='0' url='10.67.89.191:19041', client: 192.168.41.172, server: 0.0.0.0:1935 2021/12/15 13:40:17 [info] 2520#19600: *2 disconnect, client: 10.67.89.191:19041, server: ngx-relay 2021/12/15 13:40:17 [info] 2520#19600: *2 deleteStream, client: 10.67.89.191:19041, server: ngx-relay 2021/12/15 13:40:17 [info] 2520#19600: *1 disconnect, client: 192.168.41.172, server: 0.0.0.0:1935 2021/12/15 13:40:17 [info] 2520#19600: *1 deleteStream, client: 192.168.41.172, server: 0.0.0.0:1935
who can tell me how to use pull directive
my rtmp url : rtmp://10.67.89.191:19041/live/0/32057100001127007720 has some problem ?