
This provides a crude player, but performance is poor, most likely because ffmpeg can't take advantage of any hardware acceleration. Using an iOS build of the open-source ffmpeg library, which supports RTSP, I've come up with a test app that can receive the RTSP packets, decode them, create UIImages out of the frames, and display those frames on-screen.

Having read everything I can get my hands on and exploring third-party and open-source solutions, I've compiled the following list of ideas:ġ. This won't work for me because my application needs to function in an environment where there is no internet access (it's on a private Wifi network where the only other thing on the network is the device that is serving the RTSP stream). It seems to me that this is a very similar thing, and that all of the underpinnings for doing it ought to be present in iOS, but I'm having a devil of a time figuring out how to make it work without doing a lot of programming.įor starters, I know that there are web-based services that can consume an RTSP stream and rebroadcast it as an HTTP Live Stream that can be easily consumed by the media players in iOS. Unfortunately, I need to consume media from an RTSP server. With nginx and CORS already set up, integrating Peer5 is as simple as grabbing some JavaScript and clicking copy-and-paste.It seems like it's pretty easy to consume HTTP Live Streaming content in an iOS app. Adding Peer5 on top of your nginx server will do all of this and more. To do this, add a P2P layer on top of your servers to maximize your site's scalability and ability to deliver high-quality video streams. Now that we are pushing an HLS stream into nginx, we need to make the most of your server capacity. JW7 Player test var player = videojs ( '#player' ) The nginx binary is located wherever you compiled it to - /usr/local/nginx/sbin/nginx by default. Options 2: From local webcam/different rtmp/file

Options 1: From existing rtmp stream already in h264 Setting up HLS live streaming server using NGINXĤ. How to enable and disable P2P connections programmatically How to add a Custom Label to the analytics Creating A Production Ready Multi Bitrate HLS VOD stream
