Embedding a live RTSP stream of H.264 video in a webpage

后端 未结 3 961
一个人的身影
一个人的身影 2020-12-24 12:05

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 l

3条回答
  •  时光说笑
    2020-12-24 12:54

    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.

提交回复
热议问题