Commit 5d0915e1 authored by DanmeiChen's avatar DanmeiChen
Browse files

fix configure audio session

parent cd860ed2
...@@ -7195,7 +7195,9 @@ void linphone_core_activate_audio_session (LinphoneCore* lc, bool_t actived) { ...@@ -7195,7 +7195,9 @@ void linphone_core_activate_audio_session (LinphoneCore* lc, bool_t actived) {
} }
void linphone_core_configure_audio_session (LinphoneCore *lc) { void linphone_core_configure_audio_session (LinphoneCore *lc) {
L_GET_CPP_PTR_FROM_C_OBJECT(lc)->soundcardConfigureAudioSession(); if (linphone_core_get_calls_nb(lc) == 0) {
L_GET_CPP_PTR_FROM_C_OBJECT(lc)->soundcardConfigureAudioSession();
}
} }
void linphone_core_enable_callkit (LinphoneCore *lc, bool_t enabled) { void linphone_core_enable_callkit (LinphoneCore *lc, bool_t enabled) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment