Re: [Telepathy] Thoughs on the next gen MediaSignalling interface

2009-05-15 Thread mikhail.zabaluev
Hi,

-Original Message-
From: telepathy-boun...@lists.freedesktop.org 
[mailto:telepathy-boun...@lists.freedesktop.org] On Behalf Of 
ext Olivier Crête
Sent: Tuesday, April 14, 2009 11:44 PM
To: telepathy
Subject: [Telepathy] Thoughs on the next gen MediaSignalling interface

o.fd.Tp.Client.StreamedMediaHandler:

Methods:
AddParticipants(a(ua(sv)) an array of particpants, the asv would
contain nat-traversal, relay-info, stunservers, proxies, etc
RemoveParticipants(au)
SetCodecs(id, Codecs) (can fail if there is no intersection)
AddCandidates(id, Candidates)
ForceCandidates(id, Candidates)
StartTelephonyEvent(event, volume) / StopTelephonyEvent(event)
SetSendCodec(Codec)
SetDirection(id, direction)

Properties: CurrentCodecs
Properties: Transmitters
Properties: RecvCodecs

Signals: CurrentCodecsChanged(Codecs)
Signals: NewRecvCodecs(Codecs)
Signals: Error(misc)

I hope this helps starting the discussion on a saner MediaSignalling
API.

How do I restart an ICE session with this?

Best regards,
  Misha
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] Thoughs on the next gen MediaSignalling interface

2009-05-15 Thread Olivier Crête
On Fri, 2009-05-15 at 08:46 +0200, mikhail.zabal...@nokia.com wrote:
 Hi,
 
 -Original Message-
 From: telepathy-boun...@lists.freedesktop.org 
 [mailto:telepathy-boun...@lists.freedesktop.org] On Behalf Of 
 ext Olivier Crête
 Sent: Tuesday, April 14, 2009 11:44 PM
 To: telepathy
 Subject: [Telepathy] Thoughs on the next gen MediaSignalling interface
 
 o.fd.Tp.Client.StreamedMediaHandler:
 
 Methods:
 AddParticipants(a(ua(sv)) an array of particpants, the asv would
 contain nat-traversal, relay-info, stunservers, proxies, etc
 RemoveParticipants(au)
 SetCodecs(id, Codecs) (can fail if there is no intersection)
 AddCandidates(id, Candidates)
 ForceCandidates(id, Candidates)
 StartTelephonyEvent(event, volume) / StopTelephonyEvent(event)
 SetSendCodec(Codec)
 SetDirection(id, direction)
 
 Properties: CurrentCodecs
 Properties: Transmitters
 Properties: RecvCodecs
 
 Signals: CurrentCodecsChanged(Codecs)
 Signals: NewRecvCodecs(Codecs)
 Signals: Error(misc)
 
 I hope this helps starting the discussion on a saner MediaSignalling
 API.
 
 How do I restart an ICE session with this?

Excellent question, maybe with a RestartICE() call..

It seems I also forgot the local candidates... so lets add a
NewLocalCandidates(candidates) and a
LocalCandidatesPrepared(candidates) signal as well as a
LocalCandidates property... If that makes sense?

-- 
Olivier Crête
olivier.cr...@collabora.co.uk
Collabora Ltd


signature.asc
Description: This is a digitally signed message part
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy


Re: [Telepathy] TelepathyQt4 - Problem with PendingOperation

2009-05-15 Thread thiagoss
On Thu, May 14, 2009 at 12:00 PM, Dariusz Mikulski malc...@sourcecode.plwrote:

 thiagoss wrote:
  I'm learning TelepathyQt4 and there seems to be a problem with
  PendingOperation. My toy application is intended to list gmail
  contacts and it is far from complete. The code is here:
  http://pastebin.com/m449df281
 
  The function in lines 31-50 request the connection to the jabber
  server, but I get 'WARNING: Tp::PendingOperation(0x2a17480) still
  pending when it was deleted - finished will never be emitted ' on the
  console and I don't know how to proceed.
 
  What am I doing wrong?
 

 In 41 line you create new shared pointer Tp::ConnectionPtr conn =
 pc-connection(); and in 46 connecting it. Its wrong becouse your
 pointer is destroyed when function connectionCreatedFinished end.
 You can try to move your pointer to private members of the MainWindow
 class.


Thanks, that solved my problem.



 --
 Br,
 Dariusz Mikulski

 Collabora Ltd.
 http://www.collabora.co.uk/

 ___
 telepathy mailing list
 telepathy@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/telepathy




-- 
Thiago Sousa Santos

Embedded Systems and Pervasive Computing Lab (Embedded)
Center of Electrical Engineering and Informatics (CEEI)
Federal University of Campina Grande (UFCG)
___
telepathy mailing list
telepathy@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy