Jingle doesn't work

Bug #714159 reported by Yrogirg
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Coccinella
New
Medium
Unassigned

Bug Description

Just downloaded linux Coccinella (I'm on ubuntu) and echo bot <email address hidden> is not working. Neither I can call him nor he me. However gajim works fine with it.

Revision history for this message
Yrogirg (sargrigory-deactivatedaccount) wrote :

"Call" button is inactive and at startup there is a message in console:

PortAudio error at Unable to open streams: Illegal error number

Revision history for this message
buzzdee (sebastia) wrote :
Download full text (6.8 KiB)

Hi,

did you downloaded the coccinella binary from the coccinella website, or did you installed a ubuntu package?

do you actually have sound at all with the client?

I updated from OpenSUSE 11.1 to OpenSUSE 11.3 recently (x86_64), and I also see some problems:

without jackd running:

Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
using vidcap sapi Video for Linux (v4l) video capture API (video4linux)
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1291
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1862
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1986
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)

with jackd running with following parameters:
/usr/bin/jackd --no-realtime -d alsa
jackdmp 1.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in non-realtime mode
Cannot lock down memory area (Cannot allocate memory)
Cannot lock down memory area (Cannot allocate memory)
Engine profiling activated, beware 247 MBytes are needed to record profiling points...
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xdfdfc000 irq 421
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
^Cjack main caught signal 2
Write server and clients timing data...
sre@sre:~/Documents/coccinella/coccinella> /usr/bin/jackd --no-realtime -d alsa
jackdmp 1.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK server starting in non-realtime mode
Cannot lock down memory area (Cannot allocate memory)
Cannot lock down memory area (Cannot allocate memory)
Engine profiling activated, beware 247 MBytes are needed to record profiling points...
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
Using ALSA driver HDA-Intel running on card 0 - HDA Intel at 0xdfdfc000 irq 421
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final sele...

Read more...

Changed in coccinella:
milestone: none → 0.96.22
importance: Undecided → Medium
Revision history for this message
buzzdee (sebastia) wrote :

The sound problem still seems to be unrelated. I had to recompile snack, and my sound started to work again afterwards.

Still I get the following error messages on the console and also later...:
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Expression '*idev = open( idevName, flags )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 810
Expression 'OpenDevices( idevName, odevName, &idev, &odev )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 864
Expression 'PaOssStream_Initialize( stream, inputParameters, outputParameters, streamCallback, userData, streamFlags, ossHostApi )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1239
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)
using vidcap sapi Video for Linux (v4l) video capture API (video4linux)
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1291
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1862
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1986
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1291
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1862
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1986
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1291
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1862
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1986
PortAudio error at Unable to open streams: Invalid error code (value greater than zero)

Revision history for this message
buzzdee (sebastia) wrote :

I added the echo bot to my roster, but it did not authenticated me to be used.

I tested with coccinella directly connected to the asterisk as a IAX2 client, and called my mobile phone. That was working well.

After again looking at it, I think the problem is that XEP-167 is not implemented in coccinella, which is Jingle Audio via RTP, and maybe some others are missing ;).
Coccinella uses IAX for audio communication, and not RTP.

someone volunteers to implement that? ;)

Sander, any other thoughts about this one? If not, I'd mark this one as a whishlist item with regard to importance.

Sebastian

Revision history for this message
buzzdee (sebastia) wrote :

I found this mail, with attached code here:http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/190ce56039c7cfc7

so rtp in general shouldn't be too complicated ;)

Sreenath wrote:
> Hi every body,
> Can we receive a RTP Data Stram and play in TCL? If it is possible
> kindly provide me some links regarding this ASAP.

I don't know of any general solution - it is fairly easy to
play a G711 PCM stream of RTP data using snack.

However, if you are using different CODECs then it will not
be so easy.

Here is a cut down example version of some very quickly
hacked together test code. ALSO this code is written for testing
with a multicast address - you would have to modify the code to use
a normal / unicast address.

You need both tcludp and the snack tool kit to use the code that follows.

Regards

Paul

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.