GStreamer WebRTC Wrapper - Architecture - GstWebRTCWrapperBin DataChannel

From RidgeRun Developer Wiki


Previous: Architecture/GstWebRTCWrapperBin_XirsysIceServer Index Next: Architecture/GstWebRTCWrapperBin_OWRSignaler





Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help.


Note
This feature is only available for GStreamer 1.18 and newer.


Data Channel

A data channel is a component of WebRTC that serves as a dedicated pathway for real-time bidirectional communication between peers, using the Stream Control Transmission Protocol (SCTP), thus, enabling the seamless exchange of information beyond audio and video streams.

The GstWebRTCWrapper supports data channels, enabling efficient and reliable data transfer between peers. A great feature if you are building an application that requires real-time communication or any other system for data exchange.

Our GStreamer element offers properties and signals to send and receive messages and data, so you can easily implement data transfer and take your application to the next level.

Properties

  • data-channel: Enable or disable data channels to send and receive metadata.
  • metadata: Set the string which will be sent by the data channel.
  • metadata-binary: Set the binary which will be sent by the data channel.

Signals

  • send-metadata: Action signal to send a string over a data channel.
  • send-metadata-binary: Action signal to send a binary over a data channel.
  • on-message-data: This signal will receive the metadata type for binaries.
  • on-message-string: This signal will receive the metadata type for strings.



Previous: Architecture/GstWebRTCWrapperBin_XirsysIceServer Index Next: Architecture/GstWebRTCWrapperBin_OWRSignaler