Pjsua2 for android has no sound

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

 



I have two mobile phones, one is HTC 606W(Android 4.1, API Level 16), the other is Huawei(Android 4.1, API Level 16). I called from HTC to Huawei with Pjsua2, but there was no sound on HTC. If I call from Huawei to my laptop(Debian 7), everything is OK. So there must be something wrong with HTC device.  I printed audio capture/playback devices to console, only one device found, "Android JNI". I tried following code without luck either.


		try {
			AudioMediaPlayer player = new AudioMediaPlayer();
			AudioMedia med = MyApp.ep.audDevManager().getPlaybackDevMedia();
			player.createPlayer("/sdcard2/a.wav");
			player.startTransmit(med);
			return;
			
		} catch (Exception e1) {
			e1.printStackTrace();
			//return;
		}?



What can I do to solve it? The code base I tested is pjproject-2.3.


Best regards


Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20141207/f414dc8d/attachment.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