After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612338 - No video streaming between Empathy and Gmail client (Google Video)
No video streaming between Empathy and Gmail client (Google Video)
Status: RESOLVED DUPLICATE of bug 620390
Product: empathy
Classification: Core
Component: VoIP
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
: 619787 620768 (view as bug list)
Depends on: 619776
Blocks:
 
 
Reported: 2010-03-09 20:33 UTC by Jérémie Laval
Modified: 2010-06-08 10:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Tcpdump output with -w option (166.91 KB, application/x-gzip)
2010-03-09 20:34 UTC, Jérémie Laval
Details
Empathy debug output with GST_DEBUG=*SCHED*:5,*264*:5 set (962.33 KB, application/x-bzip)
2010-03-09 20:37 UTC, Jérémie Laval
Details
Empathy log with NICE_DEBUG=all GST_DEBUG=fsrtp*:5 set (120.54 KB, application/x-bzip)
2010-03-10 19:58 UTC, Jérémie Laval
Details
a3115466@owlpic.com's terminal output. Empathy hangs on incloming gmail video call. (17.05 KB, text/plain)
2010-04-16 10:42 UTC, a3115466
Details
a3115466@owlpic.com's terminal output. Empathy hangs on incloming gmail video call. (18.07 KB, text/plain)
2010-04-16 10:46 UTC, a3115466
Details

Description Jérémie Laval 2010-03-09 20:33:07 UTC
When initiating a video call to a Gmail user, audio streaming is properly established in both directions but video streaming is only received on Empathy side (i.e. Gmail interlocutor don't see webcam image sent by Empathy).

Attached is Empathy debug output with GST_DEBUG=*SCHED*:5,*264*:5 set and a tcpdump output.

My Empathy is built with http://git.collabora.co.uk/?p=user/tester/empathy.git;a=shortlog;h=refs/heads/call-error-handling
Comment 1 Jérémie Laval 2010-03-09 20:34:22 UTC
Created attachment 155676 [details]
Tcpdump output with -w option
Comment 2 Jérémie Laval 2010-03-09 20:37:58 UTC
Created attachment 155677 [details]
Empathy debug output with GST_DEBUG=*SCHED*:5,*264*:5 set
Comment 3 Guillaume Desmottes 2010-03-10 13:57:01 UTC
You have a H264 encoder installed right?
Check using:
gst-inspect | grep x264enc
Comment 4 Jérémie Laval 2010-03-10 13:59:35 UTC
Nod

% gst-inspect-0.10 | grep x264enc
x264:  x264enc: x264enc
Comment 5 Guillaume Desmottes 2010-03-10 14:15:30 UTC
Are you seeing video preview from your webcam?
Comment 6 Jérémie Laval 2010-03-10 14:33:03 UTC
Yes
Comment 7 Olivier Crête 2010-03-10 14:54:23 UTC
Which of 82.238.120.89 and 192.168.16.160 are GMail and Empathy ?

In one direction, there is only one SPS/PPS sent, but my guess is that this is the GMail->Empathy direction. Which works fine.

The strange thing is that both directions send on different ports.

Can you attach a log with NICE_DEBUG=all GST_DEBUG=fsrtp*:5 set in the environment.
Comment 8 Olivier Crête 2010-03-10 14:54:43 UTC
Btw, which version of libnice do you have installed ?
Comment 9 Jérémie Laval 2010-03-10 19:57:01 UTC
Heya,

libnice is 0.0.10 and all its make check tests pass

82.238.120.89 is Gmail and 192.168.16.* is local (Empathy).

I'm putting the log in attachment
Comment 10 Jérémie Laval 2010-03-10 19:58:00 UTC
Created attachment 155778 [details]
Empathy log with NICE_DEBUG=all GST_DEBUG=fsrtp*:5 set
Comment 11 Jérémie Laval 2010-03-10 20:03:28 UTC
Btw, Gmail initiating the audio/video connection ends up freezing whole Empathy. What GST_DEBUG should I use if that fact is of interest ?
Comment 12 a3115466 2010-04-12 19:14:44 UTC
(In reply to comment #0)
> When initiating a video call to a Gmail user, audio streaming is properly
> established in both directions but video streaming is only received on Empathy
> side (i.e. Gmail interlocutor don't see webcam image sent by Empathy).
> 
 
I have exactly the same problem. Audio streaming is ok in both directions. 
When answering a video call initiated on the gmail side, Empathy hangs. The other way around, empathy fails to succesfully stream the video (no video on the gmail side), but the video from the gmail side is displayed just fine in empathy. 

This happens everytime and with different chat contacts, on a completely up to date Ubuntu system, fresh install...

I'm a noob, so if you guys need more information, feel free to give *crystal clear* instructions on how to do so...

cheers
Comment 13 Guillaume Desmottes 2010-04-13 13:08:43 UTC
- Start empathy using:
EMPATHY_LOGFILE=/tmp/empathy.log NICE_DEBUG=all GST_DEBUG=5 ./empathy

- Get a call from gmail
- Once Empathy hangs upload /tmp/empathy.log
Comment 14 Praveen Thirukonda 2010-04-13 13:10:17 UTC
(In reply to comment #12)
> (In reply to comment #0)
> > When initiating a video call to a Gmail user, audio streaming is properly
> > established in both directions but video streaming is only received on Empathy
> > side (i.e. Gmail interlocutor don't see webcam image sent by Empathy).
> > 
> 
> I have exactly the same problem. Audio streaming is ok in both directions. 
> When answering a video call initiated on the gmail side, Empathy hangs. The
> other way around, empathy fails to succesfully stream the video (no video on
> the gmail side), but the video from the gmail side is displayed just fine in
> empathy. 
> 
> This happens everytime and with different chat contacts, on a completely up to
> date Ubuntu system, fresh install...
> 
> I'm a noob, so if you guys need more information, feel free to give *crystal
> clear* instructions on how to do so...
> 
> cheers

i have the exact same problem. these days am not able to use ubuntu on my
computer.
so if @a3115466@owlpic.com could provide some logs that the devs desire it
would be grreat.
Comment 15 a3115466 2010-04-16 10:42:16 UTC
Created attachment 158880 [details]
a3115466@owlpic.com's terminal output. Empathy hangs on incloming gmail video call.
Comment 16 a3115466 2010-04-16 10:46:18 UTC
Created attachment 158881 [details]
a3115466@owlpic.com's terminal output. Empathy hangs on incloming gmail video call.

Warned you, I'm a noob. So I did that, but couldn't find the log file afterwards where it's supposed to be. Tried with /home/NN/empathy.log instead, to no avail. 

I did however upload two terminal outputs. Is that something?

scenario (two times): started empathy which loads a gmail and a msn account. Had a gmail user video call me, accepted the call, empathy hangs and I eventually killed it. 

cheers
Comment 17 Guillaume Desmottes 2010-04-16 12:50:34 UTC
You did 

"empathy EMPATHY_LOGFILE=/home/NN/empathy.log NICE_DEBUG=all GST_DEBUG=5 ./empathy"

but you should use

"EMPATHY_LOGFILE=/home/NN/empathy.log NICE_DEBUG=all GST_DEBUG=5 empathy"
Comment 18 Guillaume Desmottes 2010-05-27 07:58:02 UTC
From bug #619787:
Currently empathy can't send video to gmail clients (but it can display the
received one).
This issue was tested in the telepathy bugzilla, and a cause has been found: it
is that the x264enc element defaults to the "Main" profile instead of
"baseline", but Google's stuff only does baseline.

Empathy must set some more properties on the encoder


This is blocked by this gstreamer bug: bug #619776
Comment 19 Guillaume Desmottes 2010-05-27 07:58:32 UTC
*** Bug 619787 has been marked as a duplicate of this bug. ***
Comment 20 Guillaume Desmottes 2010-05-27 08:00:12 UTC
*** Bug 619115 has been marked as a duplicate of this bug. ***
Comment 21 Omer Akram 2010-05-27 09:38:59 UTC
also reported at: https://bugs.launchpad.net/empathy/+bug/573845
Comment 22 Guillaume Desmottes 2010-06-07 07:58:14 UTC
*** Bug 620768 has been marked as a duplicate of this bug. ***
Comment 23 Jérémie Laval 2010-06-07 10:55:24 UTC
This bug is resolved on recent x264(enc) by applying the fix of these two bugs : bug #619776 (previously mentioned) and bug #629390
Comment 24 Jérémie Laval 2010-06-07 10:56:15 UTC
Oops, I meant bug 620390 for the second one
Comment 25 Guillaume Desmottes 2010-06-07 15:33:09 UTC
Jérémie: which version of libx264 are you using?
Comment 26 Jérémie Laval 2010-06-07 21:36:05 UTC
Snapshot 2010-05-24 (default Arch Linux package).
Comment 27 Guillaume Desmottes 2010-06-08 10:11:14 UTC
I just tested and indeed, with 2 two bugs fixed interop with Google Video works fine.

For those using Ubuntu Lucid, I opened 2 bugs requesting to backport these fixes:
https://bugs.edge.launchpad.net/ubuntu/+source/gst-plugins-ugly-multiverse0.10/+bug/591172
https://bugs.edge.launchpad.net/ubuntu/+source/gst-plugins-good0.10/+bug/591173

Closing as a dup of bug #620390  as that was not an Empathy issue after all.

*** This bug has been marked as a duplicate of bug 620390 ***