Pal Szasz
Pal Szasz

Reputation: 3225

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

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.

Upvotes: 41

Views: 25250

Answers (3)

Abhijeet
Abhijeet

Reputation: 8761

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

Upvotes: 4

Usama
Usama

Reputation: 660

Sure,

you can use the mediasoup for this it provides apis for receiving and sending RTP.

Upvotes: 0

kongaraju
kongaraju

Reputation: 9586

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

Upvotes: 5

Related Questions