WebRTC extension » History » Version 2

« Previous - Version 2/11 (diff) - Next » - Current version
Orgest Shehaj, 11/16/2017 04:24 PM


WebRTC extension

The architecture of the WebRTC extension is composed by:

  • Overlay P2P: a peer-to-peer network
  • PSng: who receive an RTP stream and send it to the P2STR plugin
  • P2STR plugin: convert the RTP stream in SRTP and send it to the browser
  • Browser: show the stream in a video tag using the WebRTC api

In the following figure you can see the full architecture of the project.

P2STR

P2STR is a C plugin implemented inside the Janus WebRTC Gateway.
This plugin receive and parse a VP8 video codec encapsulated inside an RTP (Real-time Transport Protocol) stream.
The P2STR plugin transform the RTP stream in SRTP and sand the stream to the browser. This allows web browsers to show the VP8 stream in a video tag using the WebRTC API.
The WebRTC ("Web Real-Time Communication") is a communications protocols and application programming interfaces that enable real-time communication over peer-to-peer connections.
WebRTC enables applications such as video conferencing, file transfer, chat, or desktop sharing without the need of either internal or external plugins.

P2STR.png (30.9 KB) Orgest Shehaj, 11/16/2017 04:14 PM