Windows Mobile 5 audio issue after powersave

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

 



Hi Johan,

You can use pjsua_set_snd_dev method of PJSUA API to recapture the audio devices. This method closes the current input/output sound devices and opens them again through underlying PortAudio library.

So to force reclaiming of currently used audio devices, first get device ids using pjsua_get_snd_dev method and then call pjsua_set_snd_dev to recapture them.

Regards
Girish

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Johan Lantz
Sent: Wednesday, February 25, 2009 5:10 PM
To: pjsip at lists.pjsip.org
Subject: Windows Mobile 5 audio issue after powersave

Hi

We see a reproducable issue with the audio after the phone has gone to 
powersave even if only for a second.

Scenario:
1. Start a pjsip based application
2. Tap the power button twice to go into powersave and back.

Now I can see that all signalling is fine when starting a call but there 
is no rtp data transmitted. With Wireshark I can also see that rtp data 
is sent to the phone but no audio is reproduced.

This behaviour is reproducable on a HTC device using Windows Mobile 5 
but it works just fine on two other devices (HTC Touch Pro and GloFish) 
using Windows Mobile 6.

The conclusion so far is that it is an issue either with Windows Mobile 
5 or the device in particular but we lack other devices for testing so 
it would be interesting if someone else had the possibility to test this 
on a Windows Mobile 5 device.

My last question is if there is some way to force activation of the 
audio from within pjsip. Can it be that the mic and speaker control has 
been given to another purpose after the powersave? If so can we reclaim 
them in some way?

Best Regards

Johan

_______________________________________________
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

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***



[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