[pjsip] Example "Simple PJSUA" without soundcard

Benny Prijono bennylp at pjsip.org
Thu Sep 20 13:12:37 EDT 2007


B. van Klinken wrote:
> Hello,
> 
> We we're now looking into the pjsip stack and we want to run something like
> "Simple PJSUA" on a dedicated computer without soundcard.
> 
> The SIP audio should be exchanged between our existing telecom system and
> the your stack (audio packets).
> 
> We tried to find some example for this, but could not find it.
> 
> We had a look at "Simple PJSUA", but then we see no audiocard initialisation
> at all (so we don't see where the SIP audio is connected to the audio card.

If sound device is not initialized by application, PJSUA-LIB will 
open the default sound device in pjsua_start(). If you want to use 
no device (that is null sound device in pjsua's term), then call 
pjsua_set_null_snd_dev() before calling pjsua_start().

In pjsua, you can set pjsua to use no device with --null-audio option.

HTH,
  -benny


> We found examples regarding the PJMEDIA stack, but we don't see have to use
> this in the "Simple PJSUA" example.
> 
> So we would like to have a simple application where we can put our own
> speech packets into the stack and receive spechdata out of the stack.
> 
> Is there something like this available or can someone tell us how.
> 
> Regards,
> 
> B. van Klinken
> Sr. Project Engineer
> Rohill Technologies B.V.
> Edisonstraat 12, 7903 AN Hoogeveen
> P.O. Box 373, 7900 AJ Hoogeveen
> The Netherlands
> Tel: +31 (0)528 263 355
> Fax: +31 (0)528 271 844
> http://www.rohill.com/
> -






More information about the pjsip mailing list