From 3bbc1db73bf251fbc332974b6540f5900002de0d Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Fri, 5 Feb 2016 10:32:05 +0100 Subject: [PATCH] submodules: fix plugins loading --- Classes/LinphoneManager.m | 3 +++ submodules/linphone | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 59bb6f0ca..9a9004f6f 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1426,6 +1426,8 @@ static BOOL libStarted = FALSE; theLinphoneCore = linphone_core_new_with_config(&linphonec_vtable, _configDb, (__bridge void *)(self)); LOGI(@"Create linphonecore %p", theLinphoneCore); + if ([@"toto" containsString:@"o"]) + LOGE(@"lol"); // Load plugins if available in the linphone SDK - otherwise these calls will do nothing MSFactory *f = linphone_core_get_ms_factory(theLinphoneCore); @@ -1435,6 +1437,7 @@ static BOOL libStarted = FALSE; libmsopenh264_init(f); libmsbcg729_init(f); libmswebrtc_init(f); + linphone_core_reload_ms_plugins(theLinphoneCore, NULL); // Set audio assets NSString *ring = diff --git a/submodules/linphone b/submodules/linphone index 1db3b9a29..45207ae94 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 1db3b9a2978d64dc886c6c7db7b5ed21ee39bbe7 +Subproject commit 45207ae94fcd5c805be24528929cf4f6b7b1a526