mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
do not put speaker when starting video call if BTheadest
This commit is contained in:
parent
da33a8d098
commit
8abc47953d
1 changed files with 1 additions and 2 deletions
|
|
@ -828,8 +828,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