Jump to content

GstWebRTC - Data Channel: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:


===Options===
===Options===
* '''-c, --channel=C''':      Channel to register (The session ID)
* '''-c, --channel=C''':      <br>Channel to register (The session ID)
* '''-p, --peer-channel=P''': Peer channel
* '''-p, --peer-channel=P''': <br>Peer channel
* '''-a, --no-audio''':      Don't use audio in the WebRTC session
* '''-a, --no-audio''':      <br>Don't use audio in the WebRTC session
* '''-v, --no-video''':      Don't use video in the WebRTC session
* '''-v, --no-video''':      <br>Don't use video in the WebRTC session
* '''-d, --no-data''':        Don't use data in the WebRTC session
* '''-d, --no-data''':        <br>Don't use data in the WebRTC session
* '''-o, --owr-signaler''':  Use OWR signaler (by default Pubnub signaler is used)
* '''-o, --owr-signaler''':  <br>Use OWR signaler (by default Pubnub signaler is used)
* '''-s, --start-call''':    Start the call from this endpoint (Disabled by default)
* '''-s, --start-call''':    <br>Start the call from this endpoint (Disabled by default)


===Example===
===Example===


You can run the application as follows:
 
<pre>
./datachannel -c room0 -a -o -s
</pre>


Go to the browser on the https://webrtc.ridgerun.com:8443/ page and use '''room0''' as the '''Session ID'''. It is not necessary to press the '''Call''' button since the '''-s''' option is used. After the connection establishment you should be able to send messages from the pipeline to the browser and from the browser to the pipeline, as shown below.   
Go to the browser on the https://webrtc.ridgerun.com:8443/ page and use '''room0''' as the '''Session ID'''. It is not necessary to press the '''Call''' button since the '''-s''' option is used. After the connection establishment you should be able to send messages from the pipeline to the browser and from the browser to the pipeline, as shown below.   
932

edits

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