Streamutil application on Android

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

 



Dear all,

In trying to compile and run PJSIP on Android, I have tested streamutil of
./pjsip-apps/bin/samples/arm-unknown-linux-androideabi/streamutil

cross-compiled in linux (using ndk-8) and run on Motorola Defy+

This test application works OK in send-only mode,

 [./streamutil  --local-port=4000
--remote=192.168.0.200:4000--play-file=test1.wav --send-only
]

but in --recv-only it crashes with the following log

[ 13:42:49.525 os_core_unix.c !pjlib 2.0-svn for POSIX initialized
 13:42:49.527   opensl_dev.c  OpenSL sound library initialized
13:42:49.527          pjlib  select() I/O Queue created (0xe04d4)
 13:42:49.529    strm0xe548c  VAD temporarily disabled
13:42:49.529          rtp.c  pjmedia_rtp_session_init: ses=0xecfdc,
default_pt=0, ssrc=0x146630ef
 13:42:49.529          rtp.c  pjmedia_rtp_session_init: ses=0xed5f0,
default_pt=0, ssrc=0x146630ef
13:42:49.529       stream.c  Stream strm0xe548c created
 13:42:49.529   opensl_dev.c  Creating OpenSL stream
13:42:49.551   opensl_dev.c  Recording stream type 1, SDK : 10
 13:42:49.553   opensl_dev.c  Cannot realize recorder : 9
13:42:49.553   opensl_dev.c  Stopping stream
 13:42:49.553   opensl_dev.c  OpenSL stream stopped
13:42:49.553   opensl_dev.c  OpenSL stream destroyed
 [1] + Stopped (signal)        ./streamutil
]

What am I doing wrong?

It also does not work in send-recv or in send-only and without given wave
file.

Thanks for your attention
and bravo for the great project,

Saeed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120905/4b5167a6/attachment-0001.html>


[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