Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stream live video from camera in iOS [closed]

How can I stream a live video from a camera to an iOS application. Let me know what are the possible way for stream video from the camera to cloud and view in iOS application.

like image 832
Vineesh TP Avatar asked Sep 15 '17 03:09

Vineesh TP


1 Answers

It depends on what your camera supports. There are two ways to implement live streaming in an ios application.

  1. HTTP Live Streaming :- HTTP Live Streaming (also known as HLS) is an HTTP-based media streaming communications protocol that provides mechanisms that are scalable and adaptable to different networks. HLS works by breaking down a video file into a sequence of small HTTP-based file downloads, with each download loading one short chunk of a video file.

    Reference Links : https://developer.apple.com/streaming/ https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/MediaPlaybackGuide/Contents/Resources/en.lproj/HTTPLiveStreaming/HTTPLiveStreaming.html HTTP LIve Streaming https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html

  2. RTSP Streaming :- The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers. The protocol is used for establishing and controlling media sessions between end points. There are third party library available which can be used for RTSP streaming Like FFMPEG, VideoKit etc.

    Reference Links :
    https://www.ffmpeg.org https://iosvideokit.com

like image 88
Ganesh Bavaskar Avatar answered Oct 05 '22 11:10

Ganesh Bavaskar