[telepathy-ashes/master] Disabled SIREN to fix sound.

David Laban david.laban at collabora.co.uk
Thu Sep 24 13:16:03 PDT 2009


The sound was stuttery because SIREN is sending broken timestamps (according to daf+Tester). Disabling this codec fixes everything.
---
 ashes/tools/media_echoer.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ashes/tools/media_echoer.py b/ashes/tools/media_echoer.py
index 6ed21a4..8428b5d 100644
--- a/ashes/tools/media_echoer.py
+++ b/ashes/tools/media_echoer.py
@@ -122,7 +122,9 @@ class MediaChannelEchoer(ContactAcceptor):
 
             return codecs
         else:
-            return None
+            return [farsight.Codec(farsight.CODEC_ID_DISABLE, "SIREN",
+                                        farsight.MEDIA_TYPE_AUDIO, 0)]
+
     #def session_created(self, *args):
     #    print green('session_created(%s)' % ', '.join(map(str, args)))
     #def stream_created(self, channel, stream):
-- 
1.5.6.5



More information about the telepathy-commits mailing list