问题
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