Jump to content

GstWebRTC - Data Channel: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:


* '''data-port:'''
* '''data-port:'''
Specify the desired SCTP port to use for data transfer. Its value must be defined in the range: '''[0 - 65535]'''. If not used, the port '''5000''' is assigned by default.
Specify the desired SCTP port to use for data transfer. Its value must be defined in the range: '''0 - 65535'''. If not used, the port '''5000''' is assigned by default.


* '''data-channel-id:'''
* '''data-channel-id:'''
Specify an identifier for each data channel stream. Default: Its value must be defined in the range: '''[0 - 65535]'''. If not used, a '''random''' port in that range is assigned by default.
Specify an identifier for each data channel stream. Default: Its value must be defined in the range: '''0 - 65535'''. If not used, a '''random''' port in that range is assigned by default.


* '''enable-data:'''
* '''enable-data:'''
Line 49: Line 49:
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.   


 
[[File:dc-example.png|700px|thumbnail|center|Datachannel App Example]]


|keywords=Gstreamer WebRTC Basics,Plugin Overview,WebRTC Basics,Gstreamer WebRTC Plugin Overview,GstRrWebRTCBin element,GstRrWebRTCBin}}
|keywords=Gstreamer WebRTC Basics,Plugin Overview,WebRTC Basics,Gstreamer WebRTC Plugin Overview,GstRrWebRTCBin element,GstRrWebRTCBin}}
932

edits

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