TigerYao / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

sip call from android uses loud speaker instead of front speaker. #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1.set up sipml5 + asterisk 11.12.0 
2.make call using chrome in android mobile, everything works fine both ways 
audio.
3.but in android sip call uses rear speaker (loud speaker) not the front 
speaker.

What is the expected output? What do you see instead?
  sound on android should come from the front speaker not from the loud speaker.

What version of the product are you using? On what operating system?
SIPML5 API version = 1.4.217 
Chrome 37+
android 4.2 (samsung galaxy grand)

Please provide any additional information below.
     i am using sipml5 and asterisk to make calls from my android device, everything works fine with both ways audio,but sound on android comes from loud speaker, i.e. it by default uses the loud speaker, is there any way i can swith from loud speaker to front speaker..
please help... 

Original issue reported on code.google.com by sharadsu...@gmail.com on 14 Oct 2014 at 7:33

GoogleCodeExporter commented 9 years ago
same here, it seems impossible so fasr as html5 does not allow to select the 
output device 

Original comment by winroot...@gmail.com on 7 Nov 2014 at 10:59

GoogleCodeExporter commented 9 years ago
I have a similar issue with WebRTC calls. They use the speakerphone instead of 
the front speaker as I'd like. Is there no API to configure which speaker the 
audio stream uses?

Original comment by rion.car...@gmail.com on 1 Feb 2015 at 9:36