remove linphone_core_update_call because linphone_core_set_device_rotation did it

This commit is contained in:
Danmei Chen 2019-07-09 10:29:48 +02:00
parent d6eb2eb443
commit 005d1aa465

View file

@ -499,11 +499,6 @@ static RootViewManager *rootViewManagerInstance = nil;
}
if (oldLinphoneOrientation != newRotation) {
linphone_core_set_device_rotation(LC, newRotation);
LinphoneCall *call = linphone_core_get_current_call(LC);
if (call && linphone_call_params_video_enabled(linphone_call_get_current_params(call))) {
// Orientation has changed, must call update call
linphone_core_update_call(LC, call, NULL);
}
}
}
- (void)startUp {