TpBaseMediaCallChannel

TpBaseMediaCallChannel — base class for TpSvcChannelTypeCall RTP media implementations

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── TpBaseChannel
        ╰── TpBaseCallChannel
            ╰── TpBaseMediaCallChannel

Implemented Interfaces

TpBaseMediaCallChannel implements TpSvcDBusProperties, TpSvcChannel, TpChannelIface, TpExportableChannel, TpSvcChannelTypeCall, TpSvcChannelInterfaceDTMF and TpSvcChannelInterfaceHold.

Includes

#include <telepathy-glib/telepathy-glib.h>

Description

This is a base class for connection managers that use standard RTP media.

Functions

TpBaseMediaCallChannelHoldStateChangedFunc ()

void
(*TpBaseMediaCallChannelHoldStateChangedFunc)
                               (TpBaseMediaCallChannel *self,
                                TpLocalHoldState hold_state,
                                TpLocalHoldStateReason hold_state_reason);

Signature of an implementation of TpBaseMediaCallChannelClass.hold_state_changed.

Parameters

self

a TpBaseMediaCallChannel

 

hold_state

the new TpLocalHoldState

 

hold_state_reason

the TpLocalHoldStateReason for this change

 

Since: 0.17.5


TpBaseMediaCallChannelVoidFunc ()

void
(*TpBaseMediaCallChannelVoidFunc) (TpBaseMediaCallChannel *self);

Signature of an implementation of TpBaseMediaCallChannelClass.accept.

Parameters

Since: 0.17.5


tp_base_media_call_channel_get_local_hold_state ()

TpLocalHoldState
tp_base_media_call_channel_get_local_hold_state
                               (TpBaseMediaCallChannel *channel,
                                TpLocalHoldStateReason *reason);

Parameters

channel

a TpBaseMediaCallChannel

 

reason

pointer to a location where to store the reason , or NULL

 

Returns

The current hold state

Since: 0.17.6

Types and Values

struct TpBaseMediaCallChannel

struct TpBaseMediaCallChannel;

A base class for call channel implementations with standard RTP

Since: 0.17.5


struct TpBaseMediaCallChannelClass

struct TpBaseMediaCallChannelClass {
  TpBaseMediaCallChannelHoldStateChangedFunc hold_state_changed;
  TpBaseMediaCallChannelVoidFunc accept;
};

The class structure for TpBaseMediaCallChannel

Members

TpBaseMediaCallChannelHoldStateChangedFunc hold_state_changed;

optional; virtual method called when the hold state changed

 

TpBaseMediaCallChannelVoidFunc accept;

optional; virtual method called when the call is locally accepted and contents are ready. This replaces TpBaseCallChannelClass.accept.

 

Since: 0.17.5

See Also

TpBaseCallChannel, TpBaseMediaCallContent, TpBaseMediaCallStream