pjsua not work in arm processor

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

 



Hello,

I have used the following config_site.h on a Raspberry 1 (ARM as well). 
During a call, CPU is at 25%.

---
config_site.h:
#   undef PJ_OS_HAS_CHECK_STACK
#   define PJ_OS_HAS_CHECK_STACK 0
#   define PJ_LOG_MAX_LEVEL      5
#   define PJ_ENABLE_EXTRA_CHECK 0
#   define PJ_HAS_ERROR_STRING      0
#   undef PJ_IOQUEUE_MAX_HANDLES
/* Putting max handles to lower than 32 will make pj_fd_set_t size smaller
  * than native fdset_t and will trigger assertion on sock_select.c.
  */
#   define PJ_IOQUEUE_MAX_HANDLES   32
#   define PJ_CRC32_HAS_TABLES      0
#   define PJSIP_MAX_TSX_COUNT      15
#   define PJSIP_MAX_DIALOG_COUNT   15
#   define PJSIP_UDP_SO_SNDBUF_SIZE 4000
#   define PJSIP_UDP_SO_RCVBUF_SIZE 4000
#   define PJMEDIA_HAS_ALAW_ULAW_TABLE 1

#define PJMEDIA_RESAMPLE_NONE   1
#define PJMEDIA_HAS_SPEEX_AEC   0
#define PJMEDIA_HAS_VIDEO   0
#define PJMEDIA_CONF_USE_SWITCH_BOARD 1

#define PJ_DEBUG   0

Best Regards,
Bernhard


Am 27.01.2016 um 20:43 schrieb Ebubekir DEM?R:
> Hi,
>
>     I am try to using pjsua application in arm processor(ti am335x). But 
> there are some problems in this system.
>     While I use the downloaded version 2.4.5 from 
> http://www.pjsip.org/download.htm, I can not hear any voice altough pjsua 
> app run. Also alsa capture and playback state are prepared(cat 
> /proc/asound/card0/pcm0p/sub0/status ). On the other hand , I hear 
> noisily voice and using of cpu is %98 when I used the Development version 
> downloaded from http://svn.pjsip.org/repos/pjproject/trunk. Also alsa 
> capture is running and playback is xrun state. My config_site.h is below. 
> In addition, I use --ec-tail=0 paretemeter in command line with 
> pjsua.Which version should I use for ARM processors? and What should I do 
> to reduce using of cpu?
>
>
>
>
>     #define PJMEDIA_CONF_USE_SWITCH_BOARD 1
>
>     #define PJMEDIA_AUDIO_DEV_HAS_ALSA       1
>     #define PJMEDIA_AUDIO_DEV_HAS_PORTAUDIO  0
>
>
> _______________________________________________
> 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