我正在尝试使用examples后面的nginx-rtmp-module将RTMP流从我的pc重定向到Ngninx,以将流重定向到Azure Media Service实时事件。但它不会检测到编码器。我正在使用以下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;
}
}
}我的OBS配置为流到rtmp://191.123.1.72/live,使用流密钥test,使用本地VLC,使用rtmp://191.123.1.72/live/test可以看到流。
发布于 2020-08-27 14:39:16
推流URL如下所示。这对我很管用。
application live {
live on;
record off;
push rtmp://d-myamsacc-usct.channel.media.azure.net:1935 app=live/x4t/x4t;
}我的示例url是push rtmp://p***2-p**imediaservices-usso.channel.media.azure.net:1935 app=live/3b5e8425**********50449d57d379d;。

有关更多详细信息,请访问see answer in this post。
https://stackoverflow.com/questions/63607182
复制相似问题