mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 00:59:20 +00:00
Verify if linphonecore is already create before a create new one
This commit is contained in:
parent
1d4bed91f7
commit
c007dd9f4b
1 changed files with 4 additions and 0 deletions
|
|
@ -738,6 +738,10 @@ static LinphoneCoreVTable linphonec_vtable = {
|
|||
}
|
||||
|
||||
- (void)startLibLinphone {
|
||||
if (theLinphoneCore != nil) {
|
||||
[LinphoneLogger logc:LinphoneLoggerLog format:"linphonecore is already created"];
|
||||
return;
|
||||
}
|
||||
|
||||
//get default config from bundle
|
||||
NSString* factoryConfig = [LinphoneManager bundleFile:[LinphoneManager runningOnIpad]?@"linphonerc-factory~ipad":@"linphonerc-factory"];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue