Error making call: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]

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

 



hello

use function: pjsua_set_null_snd_dev()
parameters in pjsua_init are optional see:
http://www.pjsip.org/pjsip/docs/html/group__PJSUA__LIB__BASE.htm#g72ccd5cc7dbf6f26b4ffedc0d9728a2d

and see at example: pjsua_app.c there are informations that should help you


> Hello,
>
> I set NULL also Default. But i get same error.
>
> Code:
> ====
> pjsua_media_config   media_cfg;
> pjsua_media_config_default(&media_cfg);
> ...
>      status = pjsua_init(&cfg, &log_cfg, &media_cfg); // tried NULL too
>      if (status != PJ_SUCCESS) error_exit("Error in pjsua_init()", status);
>
>
> Error:
> ====
>  14:08:58.485   tsx0x9512664  State changed from Null to Calling,
> event=TX_MSG
>  14:08:58.485    pjsua_acc.c  Registration sent
>  14:08:58.485  pjsua_media.c  Error retrieving default audio device
> parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
> [status=420006]
>  14:08:58.485            APP  Error making call: Unable to find default
> audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
>  14:08:58.492   pjsua_core.c  Shutting down...
>  14:08:58.492   pjsua_pres.c  Shutting down presence..
>  14:08:58.492  pjsua_media.c  Shutting down media..
>
>
>
> Please advise.
>
> Thank you
> Regards




[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