29
votes

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.

2
This is a good question, I would like to stream video from my embedded device and I was hoping I could just parse the video with the new JavaScript APIs.Matt Clarkson
I know I'm coming late to the party but did you find any solution to your problem? if so, would you mind sharing? @Pal Szaszjuan_marti

2 Answers

3
votes

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

3
votes

It is possible to stream video using 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