maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Google audio calls not working (https://talk.maemo.org/showthread.php?t=93053)

pali 2014-04-19 10:57

Google audio calls not working
 
I have strange problem. When other side using gmail web audio/video plugin every audio call is terminated after 3 seconds. And it does not matter if I or other side make call. With old Google Talk windows application everything working fine. Any idea? Did google change something on google talk servers? Or is gmail web pluggin buggy? Or is this problem already fixed in upstream new version of telepathy-gabble?

pali 2014-05-20 20:33

Re: Google audio calls not working
 
Ok, problem is on gmail side (maybe in gmail web plugin). It sending invalid candidate for connection and after that telepathy-farsight/telpathy-gabble disconnect active call. I created this small patch for telepathy-gabble which ignoring farsight error, so active call is not disconnected:

Code:

diff --git a/src/media-channel.c b/src/media-channel.c
index 7bd07c7..abe9054 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -2488,6 +2488,13 @@ stream_error_cb (GabbleMediaStream *stream,
  GList *contents;
  guint id;
 
+  /* Ignore error: Invalid remote candidates passed
+  * This error is sent by Google Web Client for every voice call
+  * and if is not ignored voice call is terminated after few seconds
+  */
+  if (errno == 6)
+    return;
+
  /* emit signal */
  g_object_get (stream, "id", &id, NULL);
  tp_svc_channel_type_streamed_media_emit_stream_error (chan, id, errno,

I will push it to CSSU-devel in few days.

pali 2014-06-02 18:33

Re: Google audio calls not working
 
Updates packages are in cssu-devel.


All times are GMT. The time now is 21:10.

vBulletin® Version 3.8.8