pjsip on arm (raspberry pi)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benny,

 

thank you very much for your answer.

 

I?ve run it but discovered that the ?WAV File Playback Test? absolutely
works not, it stucks after ?pjsua_aud.c  Creating file player:
input.8.wav.?.

 

Furthermore I?ve discovered that there are some error messages when the test
wizard starts the audio tone playback test:

 

11:15:23.789      systest.c  Running Audio Tone Playback Test

11:15:23.791    pjsua_aud.c  Conf connect: 1 --> 0

11:15:23.793    pjsua_aud.c  .Set sound device: capture=-1, playback=-2

11:15:23.794    pjsua_aud.c  ..Opening sound device PCM at 8000/1/20ms

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870

Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870

Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994

11:15:23.812    pjsua_aud.c  ..Opening sound device PCM at 44100/1/20ms

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870

Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294

Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture,
inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1870

Expression 'PaAlsaStream_Configure( stream, inputParameters,
outputParameters, sampleRate, framesPerBuffer, &inputLatency,
&outputLatency, &hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994

11:15:23.829    pjsua_aud.c  ..Opening sound device PCM at 48000/1/20ms

11:15:23.843   conference.c  .Port 1 (ringback) transmitting to port 0 (USB
Headphone Set: USB Audio (hw:0,0) (48KHz))

Audio Tone Playback Test

 

I think the problem is more alsa than pjsip.

 

Thank you very much and best regards,

 

Andr?

 

 

Von: pjsip-bounces at lists.pjsip.org [mailto:pjsip-bounces at lists.pjsip.org] Im
Auftrag von Benny Prijono
Gesendet: Freitag, 3. August 2012 04:36
An: pjsip list
Betreff: Re: [pjsip] pjsip on arm (raspberry pi)

 

On Fri, Aug 3, 2012 at 2:15 AM, Andr? Wussow <A.Wussow at gmx.de> wrote:

Hi all,

 

i?m really new to pjsip and started yesterday with compiling it on raspberry
pi (debian wheezy/raspbian). 

But actually I have the problem that i cannot get my headset to work. I?ve
made a short test with linphone where i?m able to make calls and hear
everything without big problems. With pjsua for testing i just hear a low
noise ? nothing more. I?ve already tried looping back the microphone to the
speaker as described in the wiki and this doesn?t works too, i just hear the
noise. The noise starts already if pjsua starts. With pjsystest i can hear
the ringtone quite clearly. 

 


Have you run the full pjsystest test wizard? If everything is okay with
pjsystest, then it should be okay with pjsua too, assuming the same
parameters are used because pjsystest is also using the same API.


Best regards,
 Benny

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120803/c6ada107/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux