Top | ![]() |
![]() |
![]() |
![]() |
void | tf_channel_new_async () |
TfChannel * | tf_channel_new_finish () |
gboolean | tf_channel_bus_message () |
TpChannel * | channel | Read / Write / Construct Only |
GPtrArray * | fs-conferences | Read |
gchar * | object-path | Read |
void | closed | Run Last |
void | content-added | Run Last |
void | content-removed | Run Last |
void | fs-conference-added | Run Last |
void | fs-conference-removed | Run Last |
This class handles the org.freedesktop.Telepathy.Channel.Interface.MediaSignalling on a channel using Farstream or the media part of the org.freedesktop.Telepathy.Channel.Type.Call that has HardwareStreaming=FALSE
void tf_channel_new_async (TpChannel *channel_proxy
,GAsyncReadyCallback callback
,gpointer user_data
);
Creates a new TfChannel from an existing channel proxy, the new TfChannel object will be return in the async callback.
The user must call tf_channel_new_finish()
in the callback
to get the finished object.
channel_proxy |
a TpChannel proxy |
|
callback |
a GAsyncReadyCallback to call when the channel is ready |
|
user_data |
the data to pass to callback function |
TfChannel * tf_channel_new_finish (GObject *object
,GAsyncResult *result
,GError **error
);
Completes the construction of a TfChannel.
Since: 0.2.2
gboolean tf_channel_bus_message (TfChannel *channel
,GstMessage *message
);
You must call this function on call messages received on the async bus. GstMessages are not modified.
“channel”
property “channel” TpChannel *
Telepathy channel object which this media channel should operate on.
Flags: Read / Write / Construct Only
“fs-conferences”
property“fs-conferences” GPtrArray *
GPtrArray of Farstream FsConferences for this channel.
Flags: Read
“object-path”
property“object-path” gchar *
D-Bus object path of the Telepathy channel which this channel operates on.
Flags: Read
Default value: NULL
“closed”
signalvoid user_function (TfChannel *arg0, gpointer user_data)
This function is called after a channel is closed, either because it has been closed by the connection manager or because we had a locally generated error.
Flags: Run Last
“content-added”
signalvoid user_function (TfChannel *tfchannel, TfContent *content, gpointer user_data)
Tells the application that a content has been added. In the callback for this signal, the application should set its preferred codecs, and hook up to any signal from TfContent it cares about. Special care should be made to connect “src-pad-added” as well as the “start-sending” and “stop-sending” signals.
Flags: Run Last
“content-removed”
signalvoid user_function (TfChannel *tfchannel, TfContent *content, gpointer user_data)
Tells the application that a content is being removed.
Flags: Run Last
“fs-conference-added”
signalvoid user_function (TfChannel *tfchannel, FsConference *conf, gpointer user_data)
When this signal is emitted, the conference should be added to the application's pipeline.
tfchannel |
the TfChannel |
|
conf |
a FsConference |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“fs-conference-removed”
signalvoid user_function (TfChannel *tfchannel, FsConference *conf, gpointer user_data)
When this signal is emitted, the conference should be remove from the application's pipeline.
tfchannel |
the TfChannel |
|
conf |
a FsConference |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last