UInt32 audioRouteOverride = enabled ? kAudioSessionOverrideAudioRoute_Speaker : kAudioSessionOverrideAudioRoute_None;
if(AudioSessionSetProperty (kAudioSessionProperty_OverrideAudioRoute, sizeof (audioRouteOverride),&audioRouteOverride) == 0){
speakerOn = enabled;
return YES;
}
Asked
Active
Viewed 23 times
0

Bista
- 7,869
- 3
- 27
- 55

Bipin Maurya
- 47
- 4
-
please describe your problem in detail – Hamish Jan 19 '16 at 08:11
-
hey @originaluser2 my question is ...... when i am getting video call that time loudspeaker enable and after click on speaker button to disable the loudspeaker this is not happening – Bipin Maurya Jan 19 '16 at 08:17
-
please edit the OP and describe your problem - not in the comments – Hamish Jan 19 '16 at 08:19