~ubuntu-branches/ubuntu/trusty/telepathy-butterfly/trusty

« back to all changes in this revision

Viewing changes to butterfly/media/stream_handler.py

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2010-08-19 17:00:56 UTC
  • mfrom: (8.2.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100819170056-89bv616gp1j4sjhb
Tags: 0.5.13-1
* New upstream release.
* debian/control:
  - Bump Standards-Version to 3.9.1 (no further changes)
  - Bump python-papyon dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
        telepathy.server.DBusProperties.__init__(self)
61
61
        telepathy.server.MediaStreamHandler.__init__(self, connection._name, path)
62
 
        papyon.event.MediaStreamEventInterface.__init__(self, stream)
63
62
 
64
63
        self._implement_property_get(telepathy.interfaces.MEDIA_STREAM_HANDLER,
65
64
            {'CreatedLocally': lambda: self.created_locally,
67
66
             'STUNServers': lambda: self.stun_servers,
68
67
             'RelayInfo': lambda: self.relay_info})
69
68
 
 
69
        if stream._remote_candidates:
 
70
            self.on_remote_candidates_received(stream._remote_candidates)
 
71
        if stream._remote_codecs:
 
72
            self.on_remote_codecs_received(stream._remote_codecs)
 
73
        papyon.event.MediaStreamEventInterface.__init__(self, stream)
 
74
 
70
75
    @property
71
76
    def id(self):
72
77
        return self._id