GStreamer WebRTC Wrapper - Architecture - GstWebRTCWrapperBin OWRSignaler

From RidgeRun Developer Connection
Jump to: navigation, search




Previous: Architecture/GstWebRTCWrapperBin_XirsysIceServer Index Next: Evaluating_GstWebRTCWrapper




OWRSignaler

GstOwrSignalerClass

This module handles the signaling mechanism to negotiate.

Methods

  • gst_owr_signaler_clean_soup_session(GstOwrSignaler * owr): Check if Data Stream is running and destroy libsoup resources.
  • gst_owr_sdp_sent(SoupSession * session, GAsyncResult * result, gpointer user_data): ADD DESCRIPTION.
  • gst_owr_signaler_url_server_check(GstOwrSignaler * owr): Checks if URL Server exists and if it is valid.
  • gst_owr_eventstream_line_read(GDataInputStream * input_stream, GAsyncResult * result, gpointer user_data): ADD DESCRIPTION.
  • gst_owr_read_eventstream_line(GDataInputStream * input_stream, gpointer user_data): ADD DESCRIPTION.
  • gst_owr_async_request_sent(SoupSession * session, GAsyncResult * result, gpointer user_data): ADD DESCRIPTION.
  • gst_owr_append_auth(SoupMessage * msg, const gchar * api_token): ADD DESCRIPTION.
  • gst_owr_send_async_request(GstOwrSignaler * owr): ADD DESCRIPTION.
  • gst_owr_signaler_event_join(GstOwrSignaler * owr, gchar * data): ADD DESCRIPTION.
  • gst_owr_signaler_event_leave(GstOwrSignaler * owr, gchar * data): ADD DESCRIPTION.
  • gst_owr_signaler_event_user(GstOwrSignaler * owr, gchar * data): ADD DESCRIPTION.
  • gst_owr_signaler_event_busy(GstOwrSignaler * owr, gchar * data): ADD DESCRIPTION.

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.

Detailed methods

connect
connect(GstBaseSignaler * self)
Parameters
self: The concrete signaler
Returns
True if connection was successful.
is_connect
is_connect(GstBaseSignaler * self)
Parameters
self: The concrete signaler
Returns
True if the signaler is connected.
disconnect
disconnect(GstBaseSignaler * self)
Parameters
self: The concrete signaler.
Returns
True if disconnection was successful.
send_local_description
send_local_description(GstBaseSignaler * self, gchar * description, GstWebRTCSDPType type)
Parameters
self: The concrete signaler.
description: The local description SDP to send.
type: SDP type offer/answer.
Returns
gboolean -> True or False if sending operation was successful.
send_candidate
send_candidate(GstBaseSignaler * self, const gchar * mid, gint sdpmlineindex, gchar * candidate)
Parameters
self: The concrete signaler.
mid: Mid of the media description this candidate is associated with.
sdpmlineindex:Index of the media description this candidate is associated with.
candidate: The standalone candidate to add.
Returns
gboolean -> True or False if sending operation was successful.


Previous: Architecture/GstWebRTCWrapperBin_XirsysIceServer Index Next: Evaluating_GstWebRTCWrapper