Jump to content

GstWebRTC - Opus Examples: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
This page presents some audio examples of GstWebRTC using OpenWebRTC's signaler.
This page presents some audio examples of GstWebRTC using OpenWebRTC's signaler.


==Unidirectional==
==Unidirectional Elements==
===Example===
===Example===
In this example we use webrtcsink to send an audio stream and webrtcsrc to receive the audio stream.
In this example we use webrtcsink to send an audio stream and webrtcsrc to receive the audio stream.
Line 28: Line 28:


<br /><br />
<br /><br />
==Bidirectional==
==Bidirectional Element==
===Example===
===Example===
In this example we use two webrtcbin elements, each sends an audio stream and receives each other audio stream.
In this example we use two webrtcbin elements, each sends an audio stream and receives each other audio stream.


====Send-Receive Pipeline====
The following pipeline will send a white noise audio stream and receive the ticks audio stream sent by the next pipeline. This pipeline starts the call.
The following pipeline will send a white noise audio stream and receive the ticks audio stream sent by the next pipeline. This pipeline starts the call.
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
Line 40: Line 42:
</syntaxhighlight>
</syntaxhighlight>


====Send-Receive Pipeline====
The following pipeline will send ticks audio stream and receive the white noise audio stream sent by the previous pipeline. This pipeline joins the call.
The following pipeline will send ticks audio stream and receive the white noise audio stream sent by the previous pipeline. This pipeline joins the call.
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
1,593

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.