Can I use WebRTC to receive a standard RTP video stream?

a 夏天 提交于 2019-12-03 04:17:55

问题


I have two computers on the same network. One of them transmits a movie (H264) with RTP protocol. Is it possible to create a simple javascript app to receive this stream on the second computer and display in a video tag?

So far my impression of WebRTC is that it's designed to be used between browser (both using WebRTC api), but I want to use it only on the receiving side.


回答1:


It is possible to stream video uisng WebRTC, you can send only data parts with RTP protocol, on the other side you should use Media Source API to stream video.

Here is article with demo explained about Media Source API




回答2:


May be this might help Janus-Gateway. This has listed RTP in Dependencies



来源:https://stackoverflow.com/questions/16728562/can-i-use-webrtc-to-receive-a-standard-rtp-video-stream

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