Scenario: tp-ssip gets incoming call from Polycom phone with: PCMU/8000 telepathy-event/8000 events=0-15 It creates a telepathy channel - tp-farsight calls Ready() with all the possible codecs - tp-ssip emits SetRemoteCodecs() with only PCMU & telephone-events - tp-farsights calls SupportedCodecs() with only PCMU & telephone-events Observed: - tp-ssip sends a SDP reply with PCMU & telephone-events first, but then gives all the other codecs afterwards Expected: - tp-ssip sends a SDP with only PCMU & telephone-events So, what I'm saying is that tp-ssofia should flush its existing list of codecs when it gets SupportedCodecs() or CodecsChanged() and just send its next SDP with that.
Btw, I should mention that this is not strictly wrong, but that it may confuse crappy implementations.
Fixing this while dealing with a separate issue: reinvite-happiness caused by CodecsUpdated.
Fixed in this branch: http://cgit.freedesktop.org/~zabaluev/telepathy-rakia/log/?h=codec-updates
Merged to master and telepathy-sofiasip-0.6, and released in telepathy-sofiasip 0.6.8
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.