Fix blackscreen on first video call preview

This commit is contained in:
Benjamin Reis 2017-02-02 14:48:07 +01:00
parent 6313992e1a
commit e5c25af545

View file

@ -2293,7 +2293,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
linphone_core_start_dtmf_stream(theLinphoneCore);
/*start the video preview in case we are in the main view*/
if (linphone_core_video_display_enabled(theLinphoneCore) && [self lpConfigBoolForKey:@"preview_preference"]) {
if (linphone_core_video_display_enabled(theLinphoneCore)) { //&& [self lpConfigBoolForKey:@"preview_preference"]) {
linphone_core_enable_video_preview(theLinphoneCore, TRUE);
}
/*check last keepalive handler date*/