Hi, I'm the next newbie, who is using PJSip for a project. To start learning, I use the streamutil.c, because the first part of the project is to stream files over RTP and the second is to implement a small sip application. However, I have a small problem with the streamutil.c. If the program starts to receive a stream, it displays this error. Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1294 Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1873 Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1994 15:19:19.904 stream.c Unable to create sound port: Invalid sample rate [code=469996] If the program gets the parameter --record-file=test.wav, it works. I have written a program which plays only a file without a stream. This works fine with the same wave file. Thanks for help. All regard Steven _________________________________________________________________ http://redirect.gimas.net/?n=M1006xHMTL4 K?nftig E-Mails ?ber Hotmail ohne Werbung versenden! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100630/3cae9071/attachment.html>