[Telepathy] Use telepathy-farsight with telepathy

Fabien LOUIS flouis at viotech.net
Fri Feb 6 07:55:48 PST 2009


Hi,

I'm still trying to use telepathy-farsight to a video conference
application, using telepathy farsight and python. I made some progress
since the last time, but now I'm stuck with the tf_channel_new
function. 

In the spec, the function "tf_channel_new" expects an Tpchannel, but the
python binding for this function expects three parameters
("connection_busname", "connection_path", "channel_path").

According to the code, the python bindings try to get existing
connection and create (or get ?) a tp_channel inside the binding code of
the function.

proxy = tp_channel_new (connection, channel_path, NULL,
    TP_UNKNOWN_HANDLE_TYPE, 0, &error);

Then, it calls the tf_channel_new function:

self->obj = G_OBJECT (tf_channel_new (proxy));

I have a question regarding the channel_path parameter. Must this
parameter be the path of an existing telepathy channel (created
beforehand)? Is it the path of a channel to be created?

In the first case, when I give the path of an existing telepathy
channel, which contains one stream gived by RequestStreams, the function
returns me a TfChannel. But when I call "tf_channel_lookup_stream" on
it, with the stream_id, I obtained a NULL value.

Regards,
Fabien LOUIS



More information about the telepathy mailing list