Home computickets RTSP / RTP transmission video stream to website

RTSP / RTP transmission video stream to website




Has anyone faced with Sabzh? You need to broadcast streaming video from an IP camera to the site. How is the easiest to implement?

This is implemented directly or, maybe you need to put an intermediate server that would, for example, convert RTP-flow into FLV files that and played on the site?

Answer 1, Authority 100%

Yes, you can take as an intermediate to take for example, videolan .
Then from it and take the SRC for HTML-A.

And what is your camera? MJPEG supports?


You can still in the form (example) & lt; img src = "Your_camera: port / videostream.cgi? user = admin & amp; pwd = test" & gt; Insert the advantage that without any components – players , pure HTML-E broadcasts, I myself use such a code, well, quality is no better than H.264, but 10-15 connections are serving.
Good luck!

Answer 2, Authority 100%

You can transmit the RTP stream to the site using WEBRTC. On the one hand, data on the RTP protocol is transmitted, on the other, it is used by Media Source API .

There is an article (eng.) http: // updates.html5rocks.com/2011/11/stream-video-using-the-mediasource-api and an example http://html5-demos.appspot.com/static/media-source.html

And one more on the topic http://habrahabr.ru/post/229243/

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions