Jump to content

GstWebRTC - Data Channel: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
[[GstWebRTC - Evaluating GstWebRTC | Evaluating GstWebRTC]]|
[[GstWebRTC - Evaluating GstWebRTC | Evaluating GstWebRTC]]|


Ridgerun's GstRrWebRTC provides data channel support. Data channel can be used for data transfer between endpoints by using the SCTP protocol, which allows flow and congestion control. The reliability and delivery order of data are configurable on the SCTP ptotocol.
* Reliability means that an endpoint is able to know if the data was received or not by the other endpoint.
* Order means that data is received in the same order it was sent.


Data channel in GstRrWebRTC works with a combination of elements that provide support for data transfer between multiple endpoints on a single session. Such elements are presented in the following image: 
[[File:data-flow.png|600px|thumbnail|center|Elements involved in data transfer]]


==GstWebRTCBin Data Properties==
==GstWebRTCBin Data Properties==
Line 25: Line 31:
There is an application called '''datachannel'' inside the '''gst-webrtc/tests/examples/data_channel''' folder. This application allows to establish communication between two endpoints in order to transfer audio, video and data.
There is an application called '''datachannel'' inside the '''gst-webrtc/tests/examples/data_channel''' folder. This application allows to establish communication between two endpoints in order to transfer audio, video and data.


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


===Example===
===Example===
932

edits

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