Top | ![]() |
![]() |
![]() |
![]() |
TpBaseMediaCallContentTpBaseMediaCallContent — base class for TpSvcCallContentInterfaceMedia implementations |
guchar | current-dtmf-event | Read |
guint | current-dtmf-state | Read |
GHashTable_guint+GHashTable_gchararray+GValue__* | local-media-descriptions | Read |
GValueArray_DBusGObjectPath+GHashTable_gchararray+GValue__* | media-description-offer | Read |
guint | packetization | Read / Write / Construct Only |
GHashTable_guint+GHashTable_gchararray+GValue__* | remote-media-descriptions | Read |
TpBaseMediaCallContent implements TpSvcDBusProperties, TpSvcCallContent, TpSvcCallContentInterfaceDTMF and TpSvcCallContentInterfaceMedia.
This base class makes it easier to write TpSvcCallContentInterfaceMedia implementations by implementing its properties and methods.
Subclasses must still implement TpBaseCallContent's virtual methods.
GHashTable * tp_base_media_call_content_get_local_media_description (TpBaseMediaCallContent *self
,TpHandle contact
);
Get the media description used to stream to contact
.
Since: 0.17.5
void tp_base_media_call_content_offer_media_description_async (TpBaseMediaCallContent *self
,TpCallContentMediaDescription *md
,GAsyncReadyCallback callback
,gpointer user_data
);
Offer md
for media description negociation.
self |
||
md |
||
callback |
a callback to call when the operation finishes |
|
user_data |
data to pass to |
Since: 0.17.5
gboolean tp_base_media_call_content_offer_media_description_finish (TpBaseMediaCallContent *self
,GAsyncResult *result
,GError **error
);
Finishes tp_base_media_call_content_offer_media_description_async()
.
Since: 0.17.5
struct TpBaseMediaCallContent;
A base class for media call content implementations
Since: 0.17.5
struct TpBaseMediaCallContentClass { };
The class structure for TpBaseMediaCallContent
Since: 0.17.5
“current-dtmf-event”
property “current-dtmf-event” guchar
The currently being played TpDTMFEvent if any
Owner: TpBaseMediaCallContent
Flags: Read
Allowed values: <= 15
Default value: 0
Since: 0.17.5
“current-dtmf-state”
property “current-dtmf-state” guint
The TpSendingState of the dtmf events
Owner: TpBaseMediaCallContent
Flags: Read
Allowed values: <= 3
Default value: 0
Since: 0.17.5
“local-media-descriptions”
property “local-media-descriptions” GHashTable_guint+GHashTable_gchararray+GValue__*
GHashTable{contact TpHandle, properties GHashTable} The map of contacts to local media descriptions.
Owner: TpBaseMediaCallContent
Flags: Read
Since: 0.17.5
“media-description-offer”
property “media-description-offer” GValueArray_DBusGObjectPath+GHashTable_gchararray+GValue__*
GValueArray{object-path, contact TpHandle, properties GHashTable}. The current media description offer if any.
Owner: TpBaseMediaCallContent
Flags: Read
Since: 0.17.5
“packetization”
property “packetization” guint
The TpCallContentPacketizationType of this content.
Owner: TpBaseMediaCallContent
Flags: Read / Write / Construct Only
Default value: 0
Since: 0.17.5
“remote-media-descriptions”
property “remote-media-descriptions” GHashTable_guint+GHashTable_gchararray+GValue__*
GHashTable{contact TpHandle, properties GHashTable} The map of contacts to remote media descriptions.
Owner: TpBaseMediaCallContent
Flags: Read
Since: 0.17.5
“local-media-description-updated”
signalvoid user_function (TpBaseMediaCallContent *self, guint contact, GHashTable *properties, gpointer user_data)
The ::local-media-description-changed signal is emitted whenever the local media description changes for a remote contact.
self |
the TpCallChannel |
|
contact |
the remote contact |
|
properties |
the new media description properties asv |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.17.5