Hi
We see a reproducable issue with the audio after the phone has gone to
powersave even if only for a second.
Scenario:
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
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@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Johan Lantz
Sent: Wednesday, February 25, 2009 5:10 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] 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:
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@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
In my case for WM5 it crash after press power button to suspend and
press it again.
I guess it's the OS limitation.
Yeffri
On Wed, Feb 25, 2009 at 8:33 AM, girish_kumar girish_kumar@infosys.com wrote:
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@lists.pjsip.org [mailto:pjsip-bounces@lists.pjsip.org] On Behalf Of Johan Lantz
Sent: Wednesday, February 25, 2009 5:10 PM
To: pjsip@lists.pjsip.org
Subject: [pjsip] 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:
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@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
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org