How to stream video over rtsp protocol for Live555 server on web browser

血红的双手。 提交于 2019-12-01 11:36:45

问题


I am already using rtsp protocol to stream video on windows application and Silver-light web application. I have built rtsp server using Live555 library, which connects with video source and multicast with different users(clients).

But now I want to stream video source in web browser to replace silver-light component. So please some one can help me to do this on web browser.

Is there any standard way/solution to do rtsp video streaming on web browser? Please help me for video streaming over tcp socket on web browser. Currently, I am using rtsp over tcp protocol for video streaming.


回答1:


You can do this in 3 ways:

  1. Write a plug in for live555 server which converts RTSP stream into RTMP. Then stream RTMP to web browser. From web browser using Flash player open RTMP stream.

  2. Use third party server (e.g. wowza) which take RTSP stream from live555 as a input and stream out as RTMP. From web browser using Flash player open RTMP stream.

  3. Recently live555 developer has added webrtc streaming in library. You can use this feature for web browser streaming. live555-webrtc-demo. This feature stream direct to web browser. But you need webrtc compatible web browser (e.g. firefox, chrome, opera).

I personally used second option as a web browser streaming solution.

I hope this will help you.



来源:https://stackoverflow.com/questions/33233677/how-to-stream-video-over-rtsp-protocol-for-live555-server-on-web-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!