[Bug 25018] New: ChannelRequest.Succeeded should give you the resulting channel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 10 16:55:07 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25018

           Summary: ChannelRequest.Succeeded should give you the resulting
                    channel
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk


Suppose I want to write an application which places a call, and then do
something when the call ends. Currently, I have to:

• Be an Observer for StreamedMedia channels;
• Call CD.CreateChannel(), get a ChannelRequest;
• Press Proceed() on the CR;
• When I get ObserveChannels called on me, check if Requests_Satisfied
includes the CR I just got. If so, that's my channel, and I get to hook up a
proxy and wait for it to be invalidated;
• When I get CR.Succeeded, I'd better hope that I've seen the channel as an
observer (note that if MC hasn't finished introspecting me by the time I
request the channel, it might not know I'm an observer yet).

If Succeeded gave me the channel, I could cut out all the observer crap, and
just do:

• CreateChannel();
• Proceed();
• wait for Succeeded or Failed.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the telepathy-bugs mailing list