FsNiceStreamTransmitter

FsNiceStreamTransmitter — A stream transmitter object for ICE using libnice

Synopsis

                    FsNiceStreamTransmitter;

Properties

  "compatibility-mode"       guint                 : Write / Construct Only
  "controlling-mode"         gboolean              : Read / Write / Construct
  "debug"                    gboolean              : Write
  "relay-info"               GValueArray*          : Write / Construct Only
  "stream-id"                guint                 : Read
  "stun-ip"                  gchar*                : Read / Write / Construct Only
  "stun-port"                guint                 : Read / Write / Construct Only

Description

Details

FsNiceStreamTransmitter

typedef struct {
  FsStreamTransmitter parent;
} FsNiceStreamTransmitter;

All members are private, access them using methods and properties

FsStreamTransmitter parent;

Parent object

Property Details

The "compatibility-mode" property

  "compatibility-mode"       guint                 : Write / Construct Only

The id of the stream according to libnice.

Allowed values: <= 3

Default value: 0


The "controlling-mode" property

  "controlling-mode"         gboolean              : Read / Write / Construct

Whether the agent is in controlling mode.

Default value: TRUE


The "debug" property

  "debug"                    gboolean              : Write

Whether the agent should enable libnice and stun debug messages.

Default value: FALSE


The "relay-info" property

  "relay-info"               GValueArray*          : Write / Construct Only

This is a GValueArray containing one or more GstStructure.

The fields in the structure are:

Required
(gchar*) ip The IP address of the TURN server
(guint) port The port of the TURN server
(gchar*) username
(gchar*) password
Optional
(gchar *) relay-type The type of TURN server, can use "udp", "tcp" or "tls". Defaults to "udp" if not specified.
(guint) component The component this TURN server and creditials will be used for. If no component is specified, it will be used for all components where no per-component details were specified. This is useful if you want to specify different short term creditial username/password combinations for Google and MSN compatibility modes.


The "stream-id" property

  "stream-id"                guint                 : Read

The id of the stream according to libnice.

Allowed values: <= G_MAXINT

Default value: 0


The "stun-ip" property

  "stun-ip"                  gchar*                : Read / Write / Construct Only

The STUN server used to obtain server-reflexive candidates.

Default value: NULL


The "stun-port" property

  "stun-port"                guint                 : Read / Write / Construct Only

The STUN server used to obtain server-reflexive candidates.

Allowed values: [1,65536]

Default value: 3478

See Also

#FsRawUdpStreamTransmitter