[Telepathy] [Bug 18468] New: examples/tube-stream-private.py: tube offer is racy
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Nov 10 09:49:04 PST 2008
http://bugs.freedesktop.org/show_bug.cgi?id=18468
Summary: examples/tube-stream-private.py: tube offer is racy
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: telepathy-python
AssignedTo: telepathy at lists.freedesktop.org
ReportedBy: alban.crequy at collabora.co.uk
In class StreamTubeInitiatorPrivateClient::connected_cb:
As soon as it is connected (StatusChanged signal received from the connection
object), the example code try to offer a tube to the contact. It should wait
until this contact is detected online, otherwise it can fail.
The code should request the "publish" contact list and receive the contact
presence before offering the tube.
Examples of python code doing that can be found in tp-salut test suites:
http://git.collabora.co.uk/?p=user/alban/telepathy-salut.git;a=blob;f=tests/twisted/avahi/test-two-tubes.py;h=0f3d2fb5096bc9a7a4cd1b064c04a4819f179ee8;hb=refs/heads/requestotron-tubes-and-caps-with-complex-types-with-gibber-listener#l80
--
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
mailing list