Advice on streaming video into a web page

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Feral Nerd
New Cone
New Cone
Posts: 1
Joined: 09 Jun 2015 12:04

Advice on streaming video into a web page

Postby Feral Nerd » 09 Jun 2015 12:20

I'm not sure if this is the best place to ask but since there is no noobs forum here I figured I'd go to where all the web developers would be. I'd like to stream video from a webcam attached to a Linux server into a player embedded into a web page. The apache server serving the page and the webcam would be co-located on the same machine (and of course I want zero latency :D ). Unfortunately I've not kept up with the developments that have been made in web development over the last few years. From what I have been able to find out over the last few days there are really only two options here:
  • MJPEG streaming which works pretty much on any browser out there.
  • Use rstp/rtp streaming in which case you need a browser plug-in.
Are there any cool new streaming technology options I'm overlooking? I kept hearing this talk about the HTML5 <video> tag supporting H264 streams (RTP or RTSP?) but that does not seem to work and I'm told it is not implemented. The only thing the <video> tag supports on all browsers is MP4. As far as I can tell an RTSP/H264 stream cannot be transcoded to mp4 on-the-fly to make it work with the HTML5 <video> tag (I was hoping I could do that with OpenCV or something). Is this correct? The way things look to me at the moment I'm basically stuck between choosing either MJPEG or putting some sort of RTSP enabled plugin into my web page? How cross browser is the VLC plugin and can it be embedded directly into web-pages on IOS devices and Android browsers?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 16 guests