![]() |
![]() |
![]() |
telepathy-glib API Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
TpCallContentMediaDescriptionTpCallContentMediaDescription — implementation of TpSvcCallContentMediaDescription |
#include <telepathy-glib/telepathy-glib.h> TpCallContentMediaDescription; struct TpCallContentMediaDescriptionClass; TpCallContentMediaDescription * tp_call_content_media_description_new (TpDBusDaemon *dbus_daemon
,const gchar *object_path
,TpHandle remote_contact
,gboolean has_remote_information
,gboolean further_negotiation_required
); const gchar * tp_call_content_media_description_get_object_path (TpCallContentMediaDescription *self
); TpHandle tp_call_content_media_description_get_remote_contact (TpCallContentMediaDescription *self
); void tp_call_content_media_description_append_codec (TpCallContentMediaDescription *self
,guint identifier
,const gchar *name
,guint clock_rate
,guint channels
,gboolean updated
,GHashTable *parameters
); void tp_call_content_media_description_add_ssrc (TpCallContentMediaDescription *self
,TpHandle contact
,guint ssrc
);
TpCallContentMediaDescription implements TpSvcCallContentMediaDescription and TpSvcDBusProperties.
"codecs" GPtrArray_GValueArray_guint+gchararray+guint+guint+gboolean+GHashTable_gchararray+gchararray___* : Read "dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only "further-negotiation-required" gboolean : Read / Write / Construct Only "has-remote-information" gboolean : Read / Write / Construct Only "interfaces" GStrv : Read "object-path" gchar* : Read / Write / Construct Only "remote-contact" guint : Read / Write / Construct Only "ssrcs" GHashTable_guint+GArray_guint__* : Read
This class is used to negociate the media description used with a remote contact. To be used with TpBaseMediaCallContent implementations.
typedef struct _TpCallContentMediaDescription TpCallContentMediaDescription;
A class for media content description
Since 0.17.5
struct TpCallContentMediaDescriptionClass { };
The class structure for TpCallContentMediaDescription
Since 0.17.5
TpCallContentMediaDescription * tp_call_content_media_description_new (TpDBusDaemon *dbus_daemon
,const gchar *object_path
,TpHandle remote_contact
,gboolean has_remote_information
,gboolean further_negotiation_required
);
Create a new TpCallContentMediaDescription object. More information can be
added after construction using
tp_call_content_media_description_append_codec()
and
tp_call_content_media_description_add_ssrc()
.
Once all information has been filled, the media description can be offered
using tp_base_media_call_content_offer_media_description()
.
|
value of "dbus-daemon" property |
|
value of "object-path" property |
|
value of "remote-contact" property |
|
value of "has_remote_information" property |
|
value of "further_negotiation_required" property |
Returns : |
a new TpCallContentMediaDescription. |
Since 0.17.5
const gchar * tp_call_content_media_description_get_object_path
(TpCallContentMediaDescription *self
);
|
a TpCallContentMediaDescription |
Returns : |
the value of "object-path" |
Since 0.17.5
TpHandle tp_call_content_media_description_get_remote_contact
(TpCallContentMediaDescription *self
);
|
a TpCallContentMediaDescription |
Returns : |
the value of "remote-contact" |
Since 0.17.5
void tp_call_content_media_description_append_codec (TpCallContentMediaDescription *self
,guint identifier
,const gchar *name
,guint clock_rate
,guint channels
,gboolean updated
,GHashTable *parameters
);
Add description for a supported codec.
|
a TpCallContentMediaDescription |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
Since 0.17.5
void tp_call_content_media_description_add_ssrc (TpCallContentMediaDescription *self
,TpHandle contact
,guint ssrc
);
if you use this API, you know what it is about
|
a TpCallContentMediaDescription |
|
if you use this API, you know what it is about |
|
if you use this API, you know what it is about |
Since 0.17.5
"codecs"
property "codecs" GPtrArray_GValueArray_guint+gchararray+guint+guint+gboolean+GHashTable_gchararray+gchararray___* : Read
GPtrArray{codecs GValueArray}. A list of codecs the remote contact supports.
Since 0.17.5
"dbus-daemon"
property"dbus-daemon" TpDBusDaemon* : Read / Write / Construct Only
The connection to the DBus daemon owning the CM.
Since 0.17.5
"further-negotiation-required"
property"further-negotiation-required" gboolean : Read / Write / Construct Only
TRUE
if the MediaDescription contains remote information.
Default value: FALSE
Since 0.17.5
"has-remote-information"
property"has-remote-information" gboolean : Read / Write / Construct Only
True if the MediaDescription contains remote information.
Default value: FALSE
"interfaces"
property"interfaces" GStrv : Read
Additional interfaces implemented by this object.
Since 0.17.5
"object-path"
property"object-path" gchar* : Read / Write / Construct Only
The D-Bus object path used for this object on the bus.
Default value: NULL
Since 0.17.5
"remote-contact"
property"remote-contact" guint : Read / Write / Construct Only
The contact TpHandle that this media description applies to.
Default value: 0
Since 0.17.5
"ssrcs"
property "ssrcs" GHashTable_guint+GArray_guint__* : Read
GHashTable{contact TpHandle, GArray{uint}} A map of contacts to SSRCs.
Since 0.17.5