Commit d5dfd232 authored by Simon Morlat's avatar Simon Morlat
Browse files

Dont call start-dtmf-stream internally. This is an app choice.

parent 674f47f6
......@@ -326,8 +326,7 @@ void CorePrivate::notifyEnteringBackground () {
#if TARGET_OS_IPHONE
LinphoneCore *lc = L_GET_C_BACK_PTR(q);
// Stop the video preview
linphone_core_enable_video_preview(lc, FALSE);
/* Stop the dtmf stream in case it was started.*/
linphone_core_stop_dtmf_stream(lc);
#endif
}
......@@ -353,13 +352,6 @@ void CorePrivate::notifyEnteringForeground () {
if (q->isFriendListSubscriptionEnabled())
enableFriendListsSubscription(true);
#if TARGET_OS_IPHONE
linphone_core_start_dtmf_stream(lc);
/*start the video preview in case we are in the main view*/
if (linphone_core_video_display_enabled(lc) && linphone_config_get_bool(lc->config, "app", "preview_preference", 0)) {
linphone_core_enable_video_preview(lc, TRUE);
}
#endif
}
belle_sip_main_loop_t *CorePrivate::getMainLoop(){
......
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