![]() If you are using already a web server, it’s better to modify the nginx configuration file before starting it. $ sudo /usr/local/nginx/sbin/nginx -s stop configure -with-http_ssl_module -add-module=./nginx-rtmp-module $ git clone git:///arut/nginx-rtmp-module.git $ sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev In order to use it we are going to build NGINX with support for it. ![]() NGINX has a very nice rtmp module that is perfectly suited for the task. If you want to use Apache or another web server to serve the stream this can be done easily. The solution proposed here is to use the RTMP protocol to send the stream form the camera to the cloud and then convert it to HLS using NGINX. The drawback is the relatively high latency compared to other protocols. A list of available streams, encoded at different bit rates, is sent to the client using an extended M3U playlist.”īy being based on standard HTTP, it is not being blocked by firewalls or proxys that let standard HTTP traffic go through. “works by breaking the overall stream into a sequence of small HTTP-based file downloads, each download loading one short chunk of an overall potentially unbounded transport stream. A good option is to use HTTP Live Streaming (HLS). Ideally the solution would enable anyone with a working browser, including smartphones and tablets, to be able to consume the video. ![]() RTSP (Real Time Streaming Protocol) was developed by RealNetworks, Netscape, and Columbia University and is not supported natively by most browsers. RTMP was initially developed by Macromedia (Adobe) to enable streaming of audio and video between a server and a Flash player and is a TCP-based protocol. HTTP is the most widely used protocol to serve static video but can also be used for live content. Streaming live video can be done using several protocols, among the most popular we have HTTP, RTMP and RTSP. You have set up a video processing pipeline or simply have a camera attached to a Raspberry Pi and want to be able to watch the video from a browser?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |