Bug 36245 - TP Farstream should provide a helper to set handler_capabilities
Summary: TP Farstream should provide a helper to set handler_capabilities
Status: RESOLVED WONTFIX
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-farstream (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Olivier Crête
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 13:49 UTC by Nicolas Dufresne
Modified: 2012-03-20 09:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Nicolas Dufresne 2011-04-14 13:49:12 UTC
TP Farstream should provide a helper that transform the supported audio/video codec and transmitters into Telepathy capabilities.

E.g.
tp_base_client_add_handler_capabilities_varargs (client,
    TF_FUTURE_IFACE_CHANNEL_TYPE_CALL "/video/h264",
    NULL);
Comment 1 Jonny Lamb 2011-04-14 14:39:28 UTC
(In reply to comment #0)
> tp_base_client_add_handler_capabilities_varargs (client,
>     TF_FUTURE_IFACE_CHANNEL_TYPE_CALL "/video/h264",
>     NULL);

Why wouldn't this go into tp-glib? Handler capabilities aren't restricted to just a/v codecs anyway.
Comment 2 Jonny Lamb 2011-04-14 14:40:51 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > tp_base_client_add_handler_capabilities_varargs (client,
> >     TF_FUTURE_IFACE_CHANNEL_TYPE_CALL "/video/h264",
> >     NULL);
> 
> Why wouldn't this go into tp-glib? Handler capabilities aren't restricted to
> just a/v codecs anyway.

I misread, ignore me, sorry!
Comment 3 Olivier Crête 2012-03-20 09:19:19 UTC
I'm tempted to make this wontfix.

1. Having multiple handlers doesn't work with #47296
2. Even if we had this in tp-fs, it would mean that all the handlers would need to be ran before an incoming call to figure out which tokens they support.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.