GStreamer WebRTC Wrapper - Architecture - GstWebRTCWrapperBin BaseIceServers

From RidgeRun Developer Wiki




Previous: Architecture/GstWebRTCWrapperBin_PubnubSignaler Index Next: Architecture/GstWebRTCWrapperBin_XirsysIceServer




BaseIceServers

GstIceServerClass

The module to handle the ice serving mechanisms.

Methods

  • connect(GstIceServer * ice_server, GError ** error): Connects to ice server
  • disconnect(GstIceServer * ice_server): Disconnect to ice server.
  • get_username(GstIceServer * ice_server): Gets username from ice server.
  • get_credential(GstIceServer * ice_server): Gets credentials from ice server.
  • get_stun_servers(GstIceServer * ice_server): Returns the list of STUN servers.
  • get_turn_servers(GstIceServer * ice_server): Returns the list of TURN servers.

Detailed methods

connect
connect(GstIceServer * ice_server, GError ** error)
Parameters
ice_server: Ice Server instance.
error:: error code.
Returns
Returns: TRUE if the disconnect was success, Otherwise FALSE alongside the GError.
disconnect
gst_ice_server_disconnect (GstIceServer * ice_server)
Parameters
ice_server: Ice Server instance.
Returns
TRUE if the disconnect was success.
get_stun
gst_ice_server_get_stun (GstIceServer * ice_server)
Parameters
ice_server: Ice Server instance.
Returns
(transfer full) (nullable): STUN URL string.
get_turn
gst_ice_server_get_turn (GstIceServer * ice_server)
Parameters
ice_server: Ice Server instance.
Returns
(transfer full) (nullable): TURN URL string.
get_username
gst_ice_server_get_username (GstIceServer * ice_server)
Parameters
ice_server: Ice Server instance.
Returns
(transfer full) (nullable): username string.
get_credential
gst_ice_server_get_credential (GstIceServer * ice_server)
Parameters
ice_server: Ice Server instance.
Returns
(transfer full) (nullable): username string.


Previous: Architecture/GstWebRTCWrapperBin_PubnubSignaler Index Next: Architecture/GstWebRTCWrapperBin_XirsysIceServer