I have a server providing live H.264 video over a network via RTSP (rtsp://...), and I've been trying to find a way to display the stream to users in their browser (on at least Windows and OS X - Linux is a bonus). I currently have VLC Player embedded and have it working in both IE9 and Mozilla Firefox 12.0, but it would be ideal if, at most, the user just has to install a plugin for their browser or something similar (as opposed to a whole program).
I am able to use Open Source solutions, but I can't use anything GPL. A Java applet or anything similar is a possibility.
Solutions considered so far which didn't seem to work:
Should I reevaluate any of these possibilities? Any other suggestions (such as in Flash or Silverlight) would be greatly appreciated.
Thanks!
Edit: it would be really great to get a solution in HTML5.
A browser cannot play RTSP streams directly, therefore it is necessary to convert the RTSP stream into HTML5 on the WCS server's side.
Step 1: Download and install VLC Player from http://www.videolan.org/vlc/. Step 2: Open VLC player and select“Open Network Stream”from the Media menu. Step 3: Type the network URL in the dialog box below, and then click Play to play the video with RTSP stream.
Direct RTSP streaming is still not supported by browsers, if you have to play an RTSP stream in the browser then you need a proxy server that will convert RTSP to HTTP stream.
The internet cameras my company works with has a browser interface that does just this. Annoyingly we don't have access to the source for the embedded video player however the following site appears to have it.
http://en.pudn.com/downloads357/doc/detail1552764_en.html
The extra annoying thing however is that this site requires you to register first and then submit 5 pieces of code to gain access to the download. I haven't complete these uploads yet an feel it may be a white rabbit chase, I only share it as I could be wrong.
Live streaming must be supported by browser, not the HTML5 player. You can refer the documentation here http://www.bitspace.in/2011/02/html5-live-streaming-media-server.html. Also rtsp
cannot be played using HTML5
as in http://www.jquery4u.com/flowplayer/html5-video-rtsp-live-streams/#.T9hzRjkpK0x. If you can transcode the video then you might use HTML5
. For reference you can check the answer from Convert rtsp video stream to http stream or refer the documentation from wowza server for converting stream http://www.wowza.com/forums/content.php?39-How-to-re-stream-video-from-an-IP-camera-%28RTSP-RTP-re-streaming. In general rtsp stream
opens with external player if there is no player already embedded in your code but dont know how you can give the message to the user to install any plugin to play the stream and how far this will work across devices and cross-browser. Also there is no support for any of the flash player to handle rtsp stream
except http
and rtmp
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With