[Telepathy] Unidirectional video chat with Empathy

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Feb 10 03:23:43 PST 2010


Le mardi 09 février 2010 à 17:02 -0800, Pavel Johnson a écrit :
> I was able to download Empathy 2.29.90 from Rawhide to test
> unidirectional video.

Thanks for testing.
 
> Uni-directional video is not working on 2.29.90 either and based on
> some tests here are a few observations:
> * If a user has a webcam, the Empathy client on the other end shows
> the webcam icon as a user attribute.  Even after removing the webcam
> the icon seems to persist, which lead me to believe the other end
> thinks video chat is still possible.
> * I hence created a new user, and never connected a webcam.  However,
> it still shows the user with a webcam icon.

The video icon means "I'm able to receive video call from a client and
protocol point of view; not "I can actually send video from a webcam".

> In both cases when trying to establish the video chat (assuming video
> in one direction would work), it fails and the Empathy client on the
> end where there is no webcam throws a GUI error: "Can't establish
> video stream. There was a failure in the call engine." Technical
> Details: Resource Unavailable. 

Right, Empathy fails to open your video source and the call is
terminated.
I think Empathy should continue the call as you can still send and
receive audio and receive video from the other side.

Sjoerd, Olivier: Can we be in a video call without actually sending
video?



	G.

> Below is the log.  Please confirm if this is a bug and will appreciate
> if you can let me know when the bug will be fixed - thanks much!
>  
> ======= BEGIN LOG =============
> empathy-Message: Element error: Cannot identify device '/dev/video0'.
> -- v4l2_calls.c(488): gst_v4l2_open
> (): /GstPipeline:pipeline0/EmpathyGstVideoSrc:empathygstvideosrc0/GstGConfVideoSrc:gconfvideosrc0/GstBin:bin3/GstV4l2Src:v4l2src0:
> 
> system error: No such file or directory
> 
> (empathy:7510): tp-fs-DEBUG: GetSessionHandlers replied: 
> 
> (empathy:7510): tp-fs-DEBUG: -
> session /org/freedesktop/Telepathy/Connection/gabble/jabber/nocam_40cvr01_2ejf_2eintel_2ecom_2fac009bc1/MediaChannel0
> 
> (empathy:7510): tp-fs-DEBUG: type rtp
> 
> (empathy:7510): tp-fs-DEBUG: adding session
> handler /org/freedesktop/Telepathy/Connection/gabble/jabber/nocam_40cvr01_2ejf_2eintel_2ecom_2fac009bc1/MediaChannel0, type rtp
> 
> (empathy:7510): tp-fs-DEBUG: calling MediaSessionHandler::Ready
> 
> (empathy:7510): tp-fs-DEBUG: New stream, stream_id=1, media_type=0,
> direction=3
> 
> (empathy:7510): tp-fs-DEBUG: New stream, stream_id=2, media_type=1,
> direction=3
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> get_all_properties_cb: Adding STUN server 93.93.128.223:3478
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: called (send_local:1 send_supported:0)
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 97: audio SPEEX clock:8000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 98: audio SPEEX clock:16000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 96: audio telephone-event clock:8000
> channels:0 events=0-15
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec SPEEX [97]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec SPEEX [98]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec PCMU [0]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec PCMA [8]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec telephone-event [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> get_all_properties_cb: Adding STUN server 93.93.128.223:3478
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: called (send_local:1 send_supported:0)
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: 96: video THEORA clock:90000 channels:0
> delivery-method=inline
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> fs_codecs_to_tp: adding codec THEORA [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: calling MediaStreamHandler::Ready
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_stream_playing: 0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_stream_sending: 0
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_playing: 0
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_sending: 0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_new_local_candidate: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_new_local_candidate: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_bus_message: Codecs changed
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: called (send_local:0 send_supported:0)
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 97: audio SPEEX clock:8000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 98: audio SPEEX clock:16000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 96: audio telephone-event clock:8000
> channels:0 events=0-15
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_new_local_candidate: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_new_local_candidate: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_bus_message: Codecs changed
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: called (send_local:0 send_supported:0)
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: 96: video THEORA clock:90000 channels:0
> delivery-method=inline
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_local_candidates_prepared: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_local_candidates_prepared: candidate->ip = '10.23.16.102'
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_local_candidates_prepared: candidate->ip = '10.23.16.102'
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_local_candidates_prepared: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_local_candidates_prepared: candidate->ip = '10.23.16.102'
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_local_candidates_prepared: candidate->ip = '10.23.16.102'
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> add_remote_candidate: adding remote candidate R1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> add_remote_candidate: adding remote candidate R2
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> add_remote_candidate: adding remote candidate R1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_new_active_candidate_pair: called: c:1 local: 2
> 10.23.16.102:36365 remote: R1 10..23.16.121:51154
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_new_active_candidate_pair: called: c:1 local: 1
> 10.23.16.102:37371 remote: R1 10..23.16.121:40479
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_new_active_candidate_pair: called: c:2 local: 2
> 10.23.16.102:54218 remote: R2 10..23.16.121:50100
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_stream_src_pad_added: New pad src_1_3725066553_97: 97: audio
> SPEEX clock:8000 channels:1 params:(nil)
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> add_remote_candidate: adding remote candidate R2
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> cb_fs_new_active_candidate_pair: called: c:2 local: 1
> 10.23.16.102:40456 remote: R2 10..23.16.121:55000
> 
> 0:03:23.253743562 7510 0xb0c1c7a8 ERROR rtptheoradepay
> gstrtptheoradepay..c:335:gst_rtp_theora_depay_setcaps:<rtptheoradepay0> no configuration specified
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_remote_codecs: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_remote_codecs: adding remote codec THEORA [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: called (send_local:0 send_supported:1)
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: 96: video THEORA clock:90000 channels:0
> delivery-method=inline
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> fs_codecs_to_tp: adding codec THEORA [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> _tf_stream_try_sending_codecs: calling
> MediaStreamHandler::SupportedCodecs
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_sending: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 1
> returned 0
> 
> tp-fs-Message: tf_stream_error: stream error errorno=7 error=Resource
> Unavailable
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_playing: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 2
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 2
> returned 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_sending: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> tf_stream_request_resource: Requesting resource for direction 1
> returned 0
> 
> tp-fs-Message: tf_stream_error: stream error errorno=7 error=Resource
> Unavailable
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: called
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: adding remote codec SPEEX [97]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: adding remote codec SPEEX [98]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: adding remote codec PCMU [0]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: adding remote codec PCMA [8]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_remote_codecs: adding remote codec telephone-event [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: called (send_local:0 send_supported:1)
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 97: audio SPEEX clock:8000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 98: audio SPEEX clock:16000 channels:1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 0: audio PCMU clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 8: audio PCMA clock:8000 channels:0
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: 96: audio telephone-event clock:8000
> channels:0 events=0-15
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec SPEEX [97]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec SPEEX [98]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec PCMU [0]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec PCMA [8]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> fs_codecs_to_tp: adding codec telephone-event [96]
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_try_sending_codecs: calling
> MediaStreamHandler::SupportedCodecs
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_stream_sending: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> tf_stream_request_resource: Requesting resource for direction 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> tf_stream_request_resource: Requesting resource for direction 1
> returned 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_stream_playing: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> tf_stream_request_resource: Requesting resource for direction 2
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> tf_stream_request_resource: Requesting resource for direction 2
> returned 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> set_stream_sending: 1
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> set_stream_playing: 0
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video) close: close
> requested by connection manager
> 
> (empathy:7510): tp-fs-DEBUG: stream 2 0x86d2360 (video)
> cb_fs_stream_src_pad_added: New pad src_2_1997885971_96: 96: video
> THEORA clock:90000 channels:0 params:0xaf410f90
> 
> (empathy:7510): tp-fs-DEBUG: stream 1 0x86d22d0 (audio)
> _tf_stream_bus_message: Send codec changed: 97: audio SPEEX clock:8000
> channels:1 params:(nil)
> 
> 
> ======= END LOG ===============
>  
>  
>  
>  
>  
> On Tue, Feb 9, 2010 at 1:57 AM, Guillaume Desmottes
> <guillaume.desmottes at collabora.co.uk> wrote:
>         Le lundi 08 février 2010 à 16:41 -0800, Pavel Johnson a
>         écrit :
>         > Thanks Guillaume.  I am using Empathy ver 2.28.2 on Fedora
>         12,
>         > which is where I see the problem.
>         >
>         > When I do a yum update I do not see a newer version of
>         Empathy getting
>         > installed.  I downloaded the 2.29.6 source code but upon
>         building it,
>         > I am running into issues with building and installing
>         telepathy-glib.
>         > Is there a way to get Empathy 2.29.x from the yum
>         repository?
>         
>         
>         I'm not a Fedora user so can't tell. It's probably best to
>         check with
>         Fedora people if there is an easy way to install latest
>         Empathy on F12.
>         
>         
>         
>                G.
>         
>         
> 




More information about the telepathy mailing list