forked from mirrors/linphone-iphone
do not put speaker when starting video call if BTheadest
This commit is contained in:
parent
b3c053f8e8
commit
ff6adcb5e6
1 changed files with 1 additions and 2 deletions
|
|
@ -958,8 +958,7 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
// Enable speaker when video
|
||||
if (state == LinphoneCallIncomingReceived || state == LinphoneCallOutgoingInit ||
|
||||
state == LinphoneCallConnected || state == LinphoneCallStreamsRunning) {
|
||||
if (linphone_call_params_video_enabled( linphone_call_get_current_params(call)) &&
|
||||
!speaker_already_enabled) {
|
||||
if (linphone_call_params_video_enabled( linphone_call_get_current_params(call)) && !speaker_already_enabled && !_bluetoothEnabled) {
|
||||
[self setSpeakerEnabled:TRUE];
|
||||
speaker_already_enabled = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue