How to restream an udp live stream using nginx rtmp module?

牧云@^-^@ 提交于 2019-12-11 05:16:48

问题


I need to restream a live stream which is in UDP protocol using nginx RTMP module. So the final stream will be in RTMP protocol. I have tried the command below in the configuration file of nginx(inside the RTMP server)

exec_pull ffmpeg -re -i udp://ipaddress:portnumber -f flv rtmp://localhost/$appname/$streamname;

When I am writing the rtmp stream link in VLC I am not able to get any display. Can anyone help me?

来源:https://stackoverflow.com/questions/29515430/how-to-restream-an-udp-live-stream-using-nginx-rtmp-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!