What kind of server is required for live streaming of video?

自作多情 提交于 2019-12-11 15:59:18

问题


I am making an iPhone application which will send video to a server for live streaming and I wanted to know that do we require a media server for this?


回答1:


Yeah, You need to create a media server. You can send your streams to server from mobile using one of the many SDKs available.

For media server: There are many ways that you can setup a server. For now lets see RTMP server which could be used with nginx. You can use hls(HTTP Live Streaming) as stated in above with this package. Here, the RTMP Server will receive the stream and converts it into the hls recommended format and HTTP server will distribute the streaming.

This link will provide you more information.




回答2:


To distribute your media content you can use an ordinary HTTP server. If you want to provide live content, you need a server component that encapsulates your content into a format that can be distributed over HTTP.
Apple provides a suite of command line utilities that allow you to prepare your content. Just search for "HTTP Live Streaming Tools" at https://developer.apple.com/downloads

The HTTP Live Streaming Overview also is a good starting point.



来源:https://stackoverflow.com/questions/17312491/what-kind-of-server-is-required-for-live-streaming-of-video

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