GStreamer WebRTC Wrapper - Architecture - GstWebRTCWrapperBin BaseSignaler BaseSignaler

From RidgeRun Developer Wiki




Previous: Architecture Index  




BaseSignaler

The module to handle the signaling mechanism to negotiate.

Methods

  • connect(GstBaseSignaler * self): Connect to signaling server.
  • disconnect(GstBaseSignaler * self): Disconnect from signaling server.
  • is_connect(GstBaseSignaler * self): Check whether there is a connection to signaling server.
  • send_local_description(GstBaseSignaler * self, gchar * description, GstWebRTCSDPType type): Send the local description through signaling.
  • send_candidate(GstBaseSignaler * self, const gchar * mid, gint sdpmlineindex, gchar * candidate): Send the candidate through signaling.

Signals

  • connected: Emitted when a peer is connected to the same session.
  • disconnected: Emitted when the peer is disconnected from the session.
  • add-remote-description: Emitted when a description arrives.
  • add-candidate: Emitted when a candidate arrives.
  • signaler-notify: Emitted when any notification needs to be sent to the bus.
  • error-connection: Emitted when the signaler has an error in one of the methods.


Previous: Architecture Index