forked from mirrors/linphone-iphone
Assistant: remove outdated hack (disabling preview before resetting core is not needed anymore, it was fixed in liblinphone)
This commit is contained in:
parent
70c1a9cb47
commit
64abf84a9e
1 changed files with 0 additions and 5 deletions
|
|
@ -141,12 +141,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
linphone_core_set_provisioning_uri([LinphoneManager getLc], fullPath.UTF8String);
|
||||
[[LinphoneManager instance] lpConfigSetInt:1 forKey:@"transient_provisioning" forSection:@"misc"];
|
||||
|
||||
// For some reason, video preview hangs for 15seconds when resetting linphone core from here...
|
||||
// to avoid it, we disable it before and reenable it after core restart.
|
||||
BOOL hasPreview = linphone_core_video_preview_enabled([LinphoneManager getLc]);
|
||||
linphone_core_enable_video_preview([LinphoneManager getLc], FALSE);
|
||||
[self resetLiblinphone];
|
||||
linphone_core_enable_video_preview([LinphoneManager getLc], hasPreview);
|
||||
// we will set the new default proxy config in the assistant
|
||||
linphone_core_set_default_proxy_config([LinphoneManager getLc], NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue