Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stream live video to browser (with low latency) [closed]

I want to stream live video to a browser with low latency.

As far as I understood, there are two clients:

  • HTML5 video tag
  • Flash video player

There are multiple ways to send the stream:

  • TCP/IP using HTTP, using progressive downloads (and html5 range-request)
  • UDP (which uses Flash)

And there are multiple solutions to broadcast the stream:

  • Using Apple's HTTP Live Stream (which provides a m3u-playlist of small file segments)
  • ...?

and there is the issue of publishing and distributing the stream over the internet.

What I need is

  • sync video content with javascript
  • low latency accros the country / the world for many viewers
  • media server: (custom) desktop app (or browser solution) to upload webcam stream
  • other existing software solutions to serving media?

    1. Will HTTP Live Stream cause a high latency, because the stream needs to be segmented and uploaded into small files? (Ruling out html5-solutions?)
    2. What does the Flash player need for input (i.e. web-adress, file on the server?)
    3. What does the Flash player need for a server? (also, to distribute it for many viewers?)
    4. How do I upload a video stream to flash? (i.e. existing software solutions / is it possible to write a custom app that uploads the webcam stream?)

Thank you very much for answering this elaborate question!!

like image 909
markmarijnissen Avatar asked Dec 21 '11 17:12

markmarijnissen


People also ask

What is the lowest latency video streaming?

The best low latency video streaming platforms use the HLS streaming protocol. “HLS” is short for “HTTP Live Streaming,” and Apple designed it to work with HTML5 video players.


1 Answers

3 years later, in 2014, WebRTC is gaining more and more adoption and popularity. Although it is limited to modern browsers only, its benefits in quality and performance far outweigh outdated Flash or limited HTML5-only solutions.

Google Hangouts uses WebRTC technology, and there are third-party services that provide the libaries and servers needed to stream, broadcast and connect video.

like image 56
markmarijnissen Avatar answered Sep 23 '22 11:09

markmarijnissen