WebRTC extension » History » Version 5
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 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.