[Telepathy] How do I receive channels in an observer client?

Mystilleef mystilleef at gmail.com
Tue Jun 14 16:55:35 PDT 2011


On Tue, Jun 14, 2011 at 10:31 AM, Simon McVittie
<simon.mcvittie at collabora.co.uk> wrote:
> On Tue, 14 Jun 2011 at 10:11:06 -0400, Mystilleef wrote:
>> Yet, I can't receive any media channels.
> ...
>> I have _neither_ an approver or handler client implemented
>> yet. Does this matter?
>
> I don't know exactly what you mean by "can't receive", but if you mean "my
> contacts see me as not callable and/or can't call me" and you're on XMPP,
> that may be because it's the Handler that tells Gabble which NAT traversal
> mechanisms it understands. Without a Handler, Gabble is aware that it doesn't
> support any NAT traversal mechanisms, and tells your contacts that it doesn't
> support any; your contacts interpret that as "can't be called".
>

I meant receiving incoming SIP calls.

> Another possibility is this MC bug:
> <https://bugs.freedesktop.org/show_bug.cgi?id=29022>
> in which channels for which you don't have a Handler aren't given to Observers
> either, on the basis that MC is about to close the channel anyway. I think
> that's a bug - it should tell the Observers, wait for them all to respond,
> *then* close the channel - but the patches to fix it haven't been merged yet.
>

Aha! Most likely the same problem I'm having.

>> P.S. The only time I can receive media channels is when I
>> have Empathy running.
>
> While it's running, Empathy provides a StreamedMedia Handler.
>
> You're not going to be usefully callable unless you have some sort of Handler
> for the channel, so if you don't want to use the one from Empathy, you'll
> have to implement another. As a "quick hack" first implementation, it could
> just accept the channel and not do anything with it...
>

Thanks a lot.  I'll implement a handler.


More information about the telepathy mailing list