PJSIP on Windows Mobile: How to use Earpiece for Audio Playback

G
girish_kumar
Wed, May 7, 2008 5:17 AM

We are using PJSIP's wince build on Windows Mobile 6 Professional platform running on HTC Touch. I am able to hear Voice during the call from Rear Loudspeaker but not able to find any way to play the voice from Front Earpiece. Windows Wave API (PortAudio is also internally using the same) seems to be not providing any support to access earpiece for Audio Playback.

I am sure someone else using PJSIP on WM or Pocket PC Phone also must have faced this issue.

Is there any way to achieve audio playback of VoIP call through Front Earpiece? If not, has Microsoft released any official wording/note on this limitation and whether they are planning to add this support in near future?

Thanks in Advance,
~Girish

**************** 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

We are using PJSIP's wince build on Windows Mobile 6 Professional platform running on HTC Touch. I am able to hear Voice during the call from Rear Loudspeaker but not able to find any way to play the voice from Front Earpiece. Windows Wave API (PortAudio is also internally using the same) seems to be not providing any support to access earpiece for Audio Playback. I am sure someone else using PJSIP on WM or Pocket PC Phone also must have faced this issue. Is there any way to achieve audio playback of VoIP call through Front Earpiece? If not, has Microsoft released any official wording/note on this limitation and whether they are planning to add this support in near future? Thanks in Advance, ~Girish **************** 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***
NI
Nanang Izzuddin
Wed, May 7, 2008 1:49 PM

In case you haven't seen, there is discussion about this:
http://www.teksoftco.com/forum/viewtopic.php?t=1466&highlight=earpiece
It seems the audio route switching is only supported for cell call.
This seems to be long time problem for WM VoIP developers.
I've heard there is a VoIP application handles this by setting very
low volume of speaker to imitate earpiece impression.

Regards,
nanang

2008/5/7 girish_kumar girish_kumar@infosys.com:

We are using PJSIP's wince build on Windows Mobile 6 Professional platform
running on HTC Touch. I am able to hear Voice during the call from Rear
Loudspeaker but not able to find any way to play the voice from Front
Earpiece. Windows Wave API (PortAudio is also internally using the same)
seems to be not providing any support to access earpiece for Audio Playback.

I am sure someone else using PJSIP on WM or Pocket PC Phone also must have
faced this issue.

Is there any way to achieve audio playback of VoIP call through Front
Earpiece? If not, has Microsoft released any official wording/note on this
limitation and whether they are planning to add this support in near future?

Thanks in Advance,

~Girish

**************** 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

In case you haven't seen, there is discussion about this: http://www.teksoftco.com/forum/viewtopic.php?t=1466&highlight=earpiece It seems the audio route switching is only supported for cell call. This seems to be long time problem for WM VoIP developers. I've heard there is a VoIP application handles this by setting very low volume of speaker to imitate earpiece impression. Regards, nanang 2008/5/7 girish_kumar <girish_kumar@infosys.com>: > We are using PJSIP's wince build on Windows Mobile 6 Professional platform > running on HTC Touch. I am able to hear Voice during the call from Rear > Loudspeaker but not able to find any way to play the voice from Front > Earpiece. Windows Wave API (PortAudio is also internally using the same) > seems to be not providing any support to access earpiece for Audio Playback. > > > > I am sure someone else using PJSIP on WM or Pocket PC Phone also must have > faced this issue. > > > > Is there any way to achieve audio playback of VoIP call through Front > Earpiece? If not, has Microsoft released any official wording/note on this > limitation and whether they are planning to add this support in near future? > > > > Thanks in Advance, > > ~Girish > > > > **************** 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 > >
YZ
yeffri z
Wed, May 7, 2008 2:33 PM

That's right we face the problem too,
Microsoft says the audio routing switching is done by device vendor
driver, we might need SDK from the vendor to route the speaker.
I haven't found then until now.
I remembered the link only show how to use speaker phone not to route
the audio from rear speaker to front speaker.

Regards

Yeffri

2008/5/7 Nanang Izzuddin nanang@pjsip.org:

In case you haven't seen, there is discussion about this:
http://www.teksoftco.com/forum/viewtopic.php?t=1466&highlight=earpiece
It seems the audio route switching is only supported for cell call.
This seems to be long time problem for WM VoIP developers.
I've heard there is a VoIP application handles this by setting very
low volume of speaker to imitate earpiece impression.

Regards,
nanang

2008/5/7 girish_kumar girish_kumar@infosys.com:

We are using PJSIP's wince build on Windows Mobile 6 Professional platform
running on HTC Touch. I am able to hear Voice during the call from Rear
Loudspeaker but not able to find any way to play the voice from Front
Earpiece. Windows Wave API (PortAudio is also internally using the same)
seems to be not providing any support to access earpiece for Audio Playback.

I am sure someone else using PJSIP on WM or Pocket PC Phone also must have
faced this issue.

Is there any way to achieve audio playback of VoIP call through Front
Earpiece? If not, has Microsoft released any official wording/note on this
limitation and whether they are planning to add this support in near future?

Thanks in Advance,

~Girish

**************** 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

That's right we face the problem too, Microsoft says the audio routing switching is done by device vendor driver, we might need SDK from the vendor to route the speaker. I haven't found then until now. I remembered the link only show how to use speaker phone not to route the audio from rear speaker to front speaker. Regards Yeffri 2008/5/7 Nanang Izzuddin <nanang@pjsip.org>: > In case you haven't seen, there is discussion about this: > http://www.teksoftco.com/forum/viewtopic.php?t=1466&highlight=earpiece > It seems the audio route switching is only supported for cell call. > This seems to be long time problem for WM VoIP developers. > I've heard there is a VoIP application handles this by setting very > low volume of speaker to imitate earpiece impression. > > Regards, > nanang > > > 2008/5/7 girish_kumar <girish_kumar@infosys.com>: > > > > We are using PJSIP's wince build on Windows Mobile 6 Professional platform > > running on HTC Touch. I am able to hear Voice during the call from Rear > > Loudspeaker but not able to find any way to play the voice from Front > > Earpiece. Windows Wave API (PortAudio is also internally using the same) > > seems to be not providing any support to access earpiece for Audio Playback. > > > > > > > > I am sure someone else using PJSIP on WM or Pocket PC Phone also must have > > faced this issue. > > > > > > > > Is there any way to achieve audio playback of VoIP call through Front > > Earpiece? If not, has Microsoft released any official wording/note on this > > limitation and whether they are planning to add this support in near future? > > > > > > > > Thanks in Advance, > > > > ~Girish > > > > > > > > **************** 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 > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >