Class

PurpleMediaCandidate

Description [src]

final class Purple.MediaCandidate : GObject.Object {
  /* No available fields */
}

An opaque structure representing a network candidate (IP Address and port pair).

Ancestors

Constructors

purple_media_candidate_new

Creates a PurpleMediaCandidate instance.

since: 2.6

Functions

purple_media_candidate_list_copy

Copies a GList of PurpleMediaCandidate and its contents.

since: 2.6

purple_media_candidate_list_free

Frees a GList of PurpleMediaCandidate and its contents.

since: 2.6

Instance methods

purple_media_candidate_copy

Copies a PurpleMediaCandidate.

since: 2.7

purple_media_candidate_get_base_ip

Gets the base (internal) IP address. This can be NULL.

since: 2.6

purple_media_candidate_get_base_port

Gets the base (internal) port. Invalid if the base IP is NULL.

since: 2.6

purple_media_candidate_get_candidate_type

Gets the candidate type.

since: 2.6

purple_media_candidate_get_component_id

Gets the component id (rtp or rtcp)

since: 2.6

purple_media_candidate_get_foundation

Gets the foundation (identifier) from the candidate.

since: 2.6

purple_media_candidate_get_ip

Gets the IP address.

since: 2.6

purple_media_candidate_get_password

Gets the password.

since: 2.6

purple_media_candidate_get_port

Gets the port.

since: 2.6

purple_media_candidate_get_priority

Gets the priority.

since: 2.6

purple_media_candidate_get_protocol

Gets the protocol (TCP or UDP).

since: 2.6

purple_media_candidate_get_ttl

Gets the TTL.

since: 2.6

purple_media_candidate_get_username

Gets the username. This can be NULL. It depends on the transmission type.

since: 2.6

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.MediaCandidate:base-ip

The internal IP address of the candidate.

Purple.MediaCandidate:base-port

The internal port of the candidate.

Purple.MediaCandidate:component-id

The component id of the candidate.

Purple.MediaCandidate:foundation

The foundation of the candidate.

Purple.MediaCandidate:ip

The IP address of the candidate.

Purple.MediaCandidate:password

The password used to connect to the candidate.

Purple.MediaCandidate:port

The port of the candidate.

Purple.MediaCandidate:priority

The priority of the candidate.

Purple.MediaCandidate:protocol

The protocol of the candidate.

Purple.MediaCandidate:ttl

The TTL of the candidate.

Purple.MediaCandidate:type

The type of the candidate.

Purple.MediaCandidate:username

The username used to connect to the candidate.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleMediaCandidateClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.