简体   繁体   中英

Can RTSP (Real Time Streaming Protocol) be used to send live video stream from iPhone to a media server?

I am new to iOS and multimedia development and I am working on an application which will capture video from iPhone's camera and send the live stream to a media server.

In this link a person asked a question on stackoverflow saying that his application was rejected by Apple as he didn't use Apple HLS (HTTP Live Streaming) method in his application for receiving the live stream.

But my case is different as I am not receiving a live stream in the iPhone.

I have to send the live video to a media server without saving it in the phone's memory which will be later watched by people on their computers through internet.
So is it okay if I use RTSP to send the live video stream to a server or is it compulsory in my case as well to use Apple HLS ?

Thanks.

我们的解释是,如果该应用程序是voip应用程序,则像会议一样需要特别考虑,否则,如果不在wifi上,则必须使用hls。

We have published an app sending real-time video from iPhone from server and it does not use HLS. There are dozens of other apps in app store using proprietary protocols as well. So the answer is no, it is not required to use HLS when streaming video from iPhone.

It's yes, you can definitely use RSTP to to send video stream from your ios app to a server as long as you do not stream it back to ios app using RSTP. Apple official documentation states that:

So, it is not talking anything about what protocol you should use when you are sending video to the server.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM