GstWebRTC - GstWebRTCSrc

From RidgeRun Developer Wiki
Revision as of 16:54, 1 August 2017 by Spalli (talk | contribs)

WebRTC Fundamentals


Home

GstWebRTCSink Element



This pages gives an overview of the GstWebRTCSrc element.

Architecture

RidgeRun's GstWebRTCSrc is used as a standard GStreamer source element. If a pipeline uses the GstWebRTCSource element, it becomes a receive-only endpoint. GstWebRTCSrc element may receive audio, video or both simultaneously.

Configurations

The supported capabilities are determined at runtime based on the pads that were requested for the elements. Simply said, if a GstWebRTCSrc was created with video and audio pads, it will be capable of receiving both medias. Table 1 summarizes the complete set of possible configurations. At the time being, only one pad of each media type can be created.

Audio Only
Figure 1: Receive Audio
OpenWebRTC Example Pipeline
Video Only
Figure 2: Receive Video
OpenWebRTC Example Pipeline
Audio + Video
Figure 3: Receive Audio and Video
OpenWebRTC Example Pipeline
Table 1. GstWebRTCSrc Supported Capabilities




WebRTC Fundamentals


Home

GstWebRTCSink Element