staff, Administrators
1,593
edits
Jcaballero (talk | contribs) No edit summary |
Jcaballero (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
This page presents the GstWebRTC Vp8 video examples with the OpenWebRTC signaler. | This page presents the GstWebRTC Vp8 video examples with the OpenWebRTC signaler. | ||
==Unidirectional== | ==Unidirectional Elements== | ||
===Example=== | ===Example=== | ||
In this example we use webrtcsink to send a video stream and webrtcsrc to receive the video stream. | In this example we use webrtcsink to send a video stream and webrtcsrc to receive the video stream. | ||
====Send Pipeline==== | |||
The following pipeline will send a color bars vp8 video stream: | The following pipeline will send a color bars vp8 video stream: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
Line 15: | Line 15: | ||
vp8enc ! rtpvp8pay ! queue ! identity ! web.video | vp8enc ! rtpvp8pay ! queue ! identity ! web.video | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====Receive Pipeline==== | |||
The following pipeline will receive the video stream and display it: | The following pipeline will receive the video stream and display it: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
Line 26: | Line 26: | ||
[[File:ColorbarsWebRTC.png|thumbnail|center|Fig.1 Snapshot of video received]] | [[File:ColorbarsWebRTC.png|thumbnail|center|Fig.1 Snapshot of video received]] | ||
<br /><br /> | <br /><br /> | ||
==Bidirectional== | ==Bidirectional Element== | ||
===Example=== | ===Example=== | ||
In this example we use two webrtcbin elements, each sends a video stream and receives each other video stream. | In this example we use two webrtcbin elements, each sends a video stream and receives each other video stream. | ||
====Send-Receive Pipeline==== | |||
The following pipeline starts the call: | The following pipeline starts the call: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
Line 38: | Line 38: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
====Send-Receive Pipeline==== | |||
The following pipeline joins the call: | The following pipeline joins the call: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> |