pjsua pb with micro and speaker

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

 



Samuel Vinson wrote:
> Hi Benny,
> 
> I manage without problem playback and record. For this, I use
>     pjmedia_snd_port_create_player
>     pjmedia_snd_port_create_rec
> 
> But when I use pjsua, the micro works badly.
> I checked that Microphone and Speaker are Functioning Properly (cc 0 0), 
> and the audio is sounding like it's skipping some frames.
> Does pjsua uses pjmedia_snd_port_create ?

Yes it does.

> If yes, can I test like that, to know if the problem comes from that ?
>     pjmedia_wav_player_port_create(..., &file_play_port);
>     pjmedia_wav_writer_port_create(..., &file_rec_port);
>     pjmedia_snd_port_create(..., &snd_port)
>     pjmedia_snd_port_connect( snd_port, file_rec_port);
>     pjmedia_snd_port_connect( snd_port, file_play_port);

Unfortunately you can't, because the last connect() will disconnect 
the previous connection.

> In Pjsua, is it possible to not use pjmedia_snd_port_create but 
> pjmedia_snd_port_create_player and pjmedia_snd_port_create_rec ? by 
> configuration or option ?

We probably can do this, but I'm not sure if it will solve the 
problem. Can you follow this audio troubleshooting wiki and see if 
it can solve the problem?:
  http://www.pjsip.org/trac/wiki/audio-problem-dropouts

cheers,
  -benny

> Thanks in advance
> 
> Samuel




[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