Nginx RTMP 流没有到达 RTMP 端点 [英] Nginx RTMP streaming is not reaching the RTMP endpoint
本文介绍了Nginx RTMP 流没有到达 RTMP 端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用
有关更多详细信息,您可以请参阅这篇文章中的答案.
I'm trying to redirect an RTMP streaming from my pc into Ngninx using the nginx-rtmp-module following the examples to redirect the stream into an Azure Media Service live event. But it won't detect the encoder. I'm using the following nginx.conf:
events {}
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
push rtmp://d-myamsacc-usct.channel.media.azure.net:1935/live/x4t/x4t;
}
}
}
My OBS is configured to stream to rtmp://191.123.1.72/live with a stream key "test" and using a local VLC I can see the stream if I use rtmp://191.123.1.72/live/test.
解决方案
Push URL should be like below. It works for me.
application live {
live on;
record off;
push rtmp://d-myamsacc-usct.channel.media.azure.net:1935 app=live/x4t/x4t;
}
My sample url is push rtmp://p***2-p**imediaservices-usso.channel.media.azure.net:1935 app=live/3b5e8425**********50449d57d379d;
.
For more details, you can see answer in this post.
这篇关于Nginx RTMP 流没有到达 RTMP 端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文