TpaStream

TpaStream

Synopsis




#define             TPA_STREAM_GET_PRIVATE              (obj)
                    TpaStreamPrivate;
                    TpaStream;
void                tpa_stream_pause                    (TpaStream *self,
                                                         gboolean value);
TpaStreamState      tpa_stream_get_state                (TpaStream *self);
TpaStreamType       tpa_stream_get_stream_type          (TpaStream *self);
guint               tpa_stream_get_id                   (TpaStream *self);
TpaChannel*         tpa_stream_get_channel              (TpaStream *self);

Object Hierarchy


  GObject
   +----TpaObject
         +----TpaStream
               +----TpaVideoStream
               +----TpaAudioStream

Properties


  "channel"                  TpaChannel            : Read / Write / Construct Only
  "contact"                  guint                 : Read / Write / Construct Only
  "direction"                guint                 : Read / Write / Construct Only
  "flags"                    guint                 : Read / Write / Construct Only
  "id"                       guint                 : Read / Write / Construct Only
  "state"                    guint                 : Read / Write / Construct Only
  "type"                     guint                 : Read / Write / Construct Only

Signals


  "error"                                          : Run Last / Has Details
  "state-changed"                                  : Run Last / Has Details

Description

Details

TPA_STREAM_GET_PRIVATE()

#define             TPA_STREAM_GET_PRIVATE(obj)

obj :

TpaStreamPrivate

typedef struct _TpaStreamPrivate TpaStreamPrivate;


TpaStream

typedef struct _TpaStream TpaStream;


tpa_stream_pause ()

void                tpa_stream_pause                    (TpaStream *self,
                                                         gboolean value);

self : TpaStream instance.
value :

tpa_stream_get_state ()

TpaStreamState      tpa_stream_get_state                (TpaStream *self);

self :
Returns :

tpa_stream_get_stream_type ()

TpaStreamType       tpa_stream_get_stream_type          (TpaStream *self);

self :
Returns :

tpa_stream_get_id ()

guint               tpa_stream_get_id                   (TpaStream *self);

self :
Returns :

tpa_stream_get_channel ()

TpaChannel*         tpa_stream_get_channel              (TpaStream *self);

self :
Returns :

Property Details

The "channel" property

  "channel"                  TpaChannel            : Read / Write / Construct Only

channel.


The "contact" property

  "contact"                  guint                 : Read / Write / Construct Only

contact.

Default value: 0


The "direction" property

  "direction"                guint                 : Read / Write / Construct Only

direction.

Default value: 0


The "flags" property

  "flags"                    guint                 : Read / Write / Construct Only

flags.

Default value: 0


The "id" property

  "id"                       guint                 : Read / Write / Construct Only

id.

Default value: 0


The "state" property

  "state"                    guint                 : Read / Write / Construct Only

state.

Allowed values: <= 2

Default value: 0


The "type" property

  "type"                     guint                 : Read / Write / Construct Only

type.

Allowed values: <= 1

Default value: 0

Signal Details

The "error" signal

void                user_function                      (TpaStream *tpastream,
                                                        guint      arg1,
                                                        gchar     *arg2,
                                                        gpointer   user_data)      : Run Last / Has Details

tpastream : the object which received the signal.
arg1 :
arg2 :
user_data : user data set when the signal handler was connected.

The "state-changed" signal

void                user_function                      (TpaStream *tpastream,
                                                        guint      arg1,
                                                        gpointer   user_data)      : Run Last / Has Details

tpastream : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.