[telepathy-gabble/master] Explain why SupportedCodecs is called redundantly

Will Thompson will.thompson at collabora.co.uk
Fri May 1 02:25:57 PDT 2009


---
 src/media-stream.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/media-stream.c b/src/media-stream.c
index cdfd00a..8e2e761 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -1257,7 +1257,10 @@ gabble_media_stream_supported_codecs (TpSvcMediaStreamHandler *iface,
     {
       /* If we created the stream, we don't need to send the intersection. If
        * we didn't create it, but have already sent the intersection once, we
-       * don't need to send it again.
+       * don't need to send it again. In either case, extra calls to
+       * SupportedCodecs are in response to an incoming description-info, which
+       * can only change parameters and which XEP-0167 §10 says is purely
+       * advisory.
        */
       DEBUG ("we already sent, or don't need to send, our codecs");
     }
-- 
1.5.6.5



More information about the telepathy-commits mailing list