Example "Simple PJSUA" without soundcard

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

 



Hello Benny,

Thanks for your answer.

What we like to have is use something like "Simple PJSUA", but we don't know
how we get the audio bytes in our own software routines.

We now understand how to disable the soundcard, but the null device is
created. But we still then don't know how we interface with the speech data.

Can you send us a small piece of source code what we should create to get
the databytes into and from our own source code.

Regards,
B. van Klinken

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx
[mailto:pjsip-bounces at lists.pjsip.org]On Behalf Of Benny Prijono
Sent: 07-09-20 19:13
To: pjsip embedded/DSP SIP discussion
Subject: Re: Example "Simple PJSUA" without soundcard


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/
> -



_______________________________________________
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