OwrTransportAgent

OwrTransportAgent

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── OwrTransportAgent

Description

Functions

owr_transport_agent_new ()

OwrTransportAgent *
owr_transport_agent_new (gboolean ice_controlling_mode);

owr_transport_agent_add_helper_server ()

void
owr_transport_agent_add_helper_server (OwrTransportAgent *transport_agent,
                                       OwrHelperServerType type,
                                       const gchar *address,
                                       guint port,
                                       const gchar *username,
                                       const gchar *password);

Parameters

transport_agent

The OwrTransportAgent that should use a helper server

 

type

The type of helper server to add

 

address

The IP address or hostname of the helper server

 

port

The port on the helper server

 

username

The helper server username (when applicable).

[allow-none]

password

The helper server password (when applicable).

[allow-none]

owr_transport_agent_add_local_address ()

void
owr_transport_agent_add_local_address (OwrTransportAgent *transport_agent,
                                       const gchar *local_address);

owr_transport_agent_set_local_port_range ()

void
owr_transport_agent_set_local_port_range
                               (OwrTransportAgent *transport_agent,
                                guint min_port,
                                guint max_port);

owr_transport_agent_add_session ()

void
owr_transport_agent_add_session (OwrTransportAgent *agent,
                                 OwrSession *session);

Parameters

session

.

[transfer full]

owr_transport_agent_get_dot_data ()

gchar *
owr_transport_agent_get_dot_data (OwrTransportAgent *transport_agent);

Types and Values

enum OwrHelperServerType

Members

OWR_HELPER_SERVER_TYPE_STUN

   

OWR_HELPER_SERVER_TYPE_TURN_UDP

   

OWR_HELPER_SERVER_TYPE_TURN_TCP

   

Property Details

The “ice-controlling-mode” property

  “ice-controlling-mode”     gboolean

Whether the ice agent is in controlling mode.

Flags: Read / Write

Default value: TRUE