Stream file as RTSP using VLC

时光怂恿深爱的人放手 提交于 2020-01-01 04:22:09

问题


I need to create a server that can stream an mp3 file to another device. I am planning on using VLC. I looked at the VLC documentation and am confused about the way forward to do this. I found this link, http://www.videolan.org/doc/streaming-howto/en/ch07.html which tells how to stream a file to a device. However, what I want to do is create a server that is just streaming audio and will allow other clients to connect to it and start playing what is streamed. How can this be done with VLC?


回答1:


If you are OK with using just an RTP stream then try https://wiki.videolan.org/Documentation:Streaming_HowTo_New. This is the absolute simplest method, and I used it very recently.

If you would like to setup a full-fledged on-demand RTSP server then use this: http://juliensimon.blogspot.com/2008/12/howto-setting-up-vod-server-with-vlc.html .




回答2:


Open Broadcaster Software supports RTSP https://obsproject.com



来源:https://stackoverflow.com/questions/10116023/stream-file-as-rtsp-using-vlc

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