[Telepathy] Getting voip working in Empathy

iain iain at openedhand.com
Mon Jul 28 17:19:52 PDT 2008


On Mon, 2008-07-28 at 14:59 -0400, Olivier Crête wrote:

> Your error is right there:
> 
> (telepathy-stream-engine:8442): farsight-rtp-DEBUG: AUDIO -
> farsight_rtp_stream_bus_watch_cb: Error: gstalsasrc.c(640):
> gst_alsasrc_open (): /pipeline/bin1/gconfaudiosrc0/bin8/alsasrc0:
> Recording open error on device 'default': No such file or directory
> ** Message: tp_stream_engine_stream_error: stream errorno=0 error=Could
> not open audio device for recording.
> 
> Configure your conferencing audio source properly in
> gnome-sound-properties..
> 

Ok, done that, now stream-engine on the receiving end is borking with
GStreamer-CRITICAL **: gst_caps_get_structure: assertion `index <
caps->structs->len' failed
aborting...
Aborted

this is coming from this part of gstbasertppayload.c

    /* peer provides caps we can use to fixate, intersect. This always
returns a
     * writable caps. */

    g_print ("srccaps: %s\n", gst_caps_to_string (srccaps));
    g_print ("peercaps: %s\n", gst_caps_to_string (peercaps));
    temp = gst_caps_intersect (srccaps, peercaps);
    g_print ("intersected caps: %s\n", gst_caps_to_string (temp));
    gst_caps_unref (srccaps);
    gst_caps_unref (peercaps);

    /* now fixate, start by taking the first caps */
    gst_caps_truncate (temp);

    /* get first structure */
    s = gst_caps_get_structure (temp, 0);

As you can see I've added some debugging to print out the caps (yes, I
know they leak as well), that outputs:

srccaps: application/x-rtp, media=(string)audio, clock-rate=(int)44100,
encoding-name=(string)SPEEX, encoding-params=(string)2
peercaps: application/x-rtp, encoding-name=(string)SPEEX,
clock-rate=(int)16000, media=(string)audio, payload=(int)96,
channels=(int)1
intersected caps: EMPTY

Any other ideas for this?

thanks
iain



More information about the Telepathy mailing list