问题
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