OwrCandidate

OwrCandidate — A remote or local ICE connection candidate.

Functions

Properties

gchar * address Read / Write
gchar * base-address Read / Write
guint base-port Read / Write
OwrComponentTypes component-type Read / Write / Construct Only
gchar * foundation Read / Write
gchar * password Read / Write
guint port Read / Write
guint priority Read / Write
OwrTransportTypes transport-type Read / Write
OwrCandidateTypes type Read / Write / Construct Only
gchar * ufrag Read / Write

Object Hierarchy

    GObject
    ╰── OwrCandidate

Description

A remote or local ICE connection candidate. If ICE is not used a candidate can be forced (see OwrMediaSession).

Functions

owr_candidate_new ()

OwrCandidate *
owr_candidate_new (OwrCandidateType type,
                   OwrComponentType component_type);

Creates a new OwrCandidate

Parameters

type

the type of candidate. See OwrCandidateType.

 

component_type

the type of component. See OwrComponentType.

 

Types and Values

Property Details

The “address” property

  “address”                  gchar *

The address of the candidate.

Flags: Read / Write

Default value: ""


The “base-address” property

  “base-address”             gchar *

The base address of the candidate.

Flags: Read / Write

Default value: ""


The “base-port” property

  “base-port”                guint

The candidate base port.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0


The “component-type” property

  “component-type”           OwrComponentTypes

The stream component type (RTP/RTCP).

Flags: Read / Write / Construct Only

Default value: RTP


The “foundation” property

  “foundation”               gchar *

The foundation of the candidate.

Flags: Read / Write

Default value: ""


The “password” property

  “password”                 gchar *

The password to use with this candidate.

Flags: Read / Write

Default value: ""


The “port” property

  “port”                     guint

The candidate port.

Flags: Read / Write

Allowed values: <= 65535

Default value: 0


The “priority” property

  “priority”                 guint

The candidate priority.

Flags: Read / Write

Default value: 0


The “transport-type” property

  “transport-type”           OwrTransportTypes

The transport type (UDP or TCP (active/passive/simultaneous open)).

Flags: Read / Write

Default value: UDP


The “type” property

  “type”                     OwrCandidateTypes

The type of candidate.

Flags: Read / Write / Construct Only

Default value: Host


The “ufrag” property

  “ufrag”                    gchar *

The username fragment to use with this candidate.

Flags: Read / Write

Default value: ""