Bug 26386 - SetRemoteCodecs could send description-info if appropriate
Summary: SetRemoteCodecs could send description-info if appropriate
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: fargo (show other bugs)
Version: git master
Hardware: Other All
: low minor
Assignee: David Laban
QA Contact: Simon McVittie
URL:
Whiteboard: later
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 06:04 UTC by Simon McVittie
Modified: 2010-02-02 07:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2010-02-02 06:04:15 UTC
From a branch I'm working on:

        if self.state == STATE_START and self.initiate_stanza is None:
            # we're the initiator: send session-initiate
            self.send_session_initiate()
        elif self.state == STATE_PENDING and self.initiate_stanza is not None:
            # the Telepathy end is the responder: send session-accept on its
            # behalf
            # FIXME: fd.o #26270: AddMembers, not SetRemoteCodecs, should be
            # the transition between PENDING and ACTIVE
            self.send_session_accept()
        else:
            # FIXME: fd.o #nnnnn: if only the parameters have changed, we can
            # send description-info
            logger.debug('already sent our codecs list, not sending it again')


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.