STUN

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

 



Does anybody know any good hosted 3rd party stun server..  I need that for
testing.. stun.fwdnet.net seems works but symbian_ua is failing.. I need
another one to check...




-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org]
On Behalf Of fukunaga
Sent: Saturday, November 15, 2008 2:21 PM
To: pjsip list
Subject: Re: Invalid sample rate

Hi all,

I examined my problem and found that option --clock-rate is needed(?).
 From 'dmesg' USB audio has
         usbaudio: valid input sample rate 24000
         usbaudio: valid output sample rate 48000

If I use 48k wav file, 'playfile' works good!
But 'pjsua' stalls.
------------------------------------------------------------------------
[root at a220-0 (ttyAM0) 
/mnt/nand/pjsip/pjsip-apps/bin]# ./pjsua-arm-unknown-linux-gnu 
--play-file /mnt/nand/EBalloon_48.wav --clock-rate=24000 --app-log-level=5

.....

 >>> cl
Conference ports:
Port #00[24KHz/20ms/1]         Master/sound  transmitting to:
Port #01[48KHz/20ms/1] /mnt/nand/EBalloon_48.wav  transmitting to:
Port #02[24KHz/20ms/1]             ringback  transmitting to:
Port #03[24KHz/20ms/1]                 ring  transmitting to:
 >>> cc 1 0
  12:58:51.820  pjsua_media.c  pjsua_set_snd_dev(): attempting to 
open devices @24000 Hz
  12:58:51.838      pasound.c  Opened device 
/dev/dsp(OSS)//dev/dsp(OSS) for recording and playback, sample 
rate=24000, ch=1, bits=16, 480 samples per frame, input latency=85 
ms, output latency=85 ms
  12:58:51.839      pasound.c  Starting /dev/dsp stream..
------------------------------------------------------------------------

What happends????

Regards,
fukunaga



At 15:50 08/11/14, you wrote:
>Hi,
>
>I tried to run pjsua on enbedded linux( Armadillo-220 ) with USB audio
device.
>Error message "Invalid sample rate" occurs when I test --play-file as
follows.
>
>------------------------------------------------------------------------
>./pjsua-arm-unknown-linux-gnu --play-file /mnt/nand/DBaloon.wav
>
>         >>> cl
>         Conference ports:
>         Port #00[16KHz/20ms/1]         Master/sound  transmitting to:
>         Port #01[16KHz/20ms/1] /mnt/nand/DBaloon.wav  transmitting to:
>         Port #02[16KHz/20ms/1]             ringback  transmitting to:
>         Port #03[16KHz/20ms/1]                 ring  transmitting to:
>
>         >>> cc 1 0
>         12:26:12.300  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @16000 Hz
>         12:26:12.331  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.332  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @44100 Hz
>         12:26:12.362  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.363  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @48000 Hz
>         12:26:12.393  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.394  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @32000 Hz
>         12:26:12.423  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.424  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @16000 Hz
>         12:26:12.454  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.455  pjsua_media.c  pjsua_set_snd_dev(): 
> attempting to open devices @8000 Hz
>         12:26:12.485  pjsua_media.c  ..failed: Invalid sample rate
>         12:26:12.486  pjsua_media.c  Unable to open sound device: 
> Invalid sample rate [status=269996]
>         12:26:12.486  pjsua_media.c  Error opening sound device: 
> Invalid sample rate [status=269996]
>         ERROR!!
>
>------------------------------------------------------------------------
>playfile log is as follows.
>
>         [root at a220-0 (ttyAM0) 
> /mnt/nand/pjsip/pjsip-apps/bin/samples]# ./playfile-arm-unknown-linux-gnu 
> /mnt/nand/DBaloon.wav
>         12:28:43.254 os_core_unix.c  pjlib 1.0 for POSIX initialized
>         12:28:43.697      pasound.c  PortAudio sound library 
> initialized, status=0
>         12:28:43.698      pasound.c  PortAudio host api count=1
>         12:28:43.698      pasound.c  Sound device count=1
>         12:28:43.700          pjlib  select() I/O Queue created (0x8bed4)
>         12:28:43.706   wav_player.c  File player 
> '/mnt/nand/DBaloon.wav' created: samp.rate=16000, ch=1, bufsize=4KB,
filesize=4KB
>         12:28:43.714      pasound.c  PA message: Expression 
> 'paInvalidSampleRate' failed in 
> 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1042
>
>         12:28:43.715      pasound.c  PA message: Expression 
> 'PaOssStreamComponent_Configure( component, sampleRate, 
> framesPerBuffer, StreamMode_Out, master )' failed in 
> 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1130
>
>         12:28:43.715      pasound.c  PA message: Expression 
> 'PaOssStream_Configure( stream, sampleRate, framesPerBuffer, 
> &inLatency, &outLatency )' failed in 
> 'src/../../../portaudio/src/hostapi/oss/pa_unix_oss.c', line: 1236
>
>         12:28:43.716     playfile.c  Unable to open sound device: 
> Invalid sample rate [code=269996]
>
>------------------------------------------------------------------------
>mp3play runs good.
>
>[root at a220-0 (ttyAM0) /mnt/nand]# mp3play /mnt/nand/short.mp3
>/mnt/nand/short.mp3: MPEG1-III (166 ms)
>
>------------------------------------------------------------------------
>
>please teach me what I should do next.
>
>Regards,
>fukunaga
>
>
>
>_______________________________________________
>Visit our blog: http://blog.pjsip.org
>
>pjsip mailing list
>pjsip at lists.pjsip.org
>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[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