From version < 51.8 >
edited by Simon Morlat
on 2020/06/25 17:08
To version < 51.9 >
edited by Simon Morlat
on 2020/06/25 17:09
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -348,8 +348,8 @@
348 348  
349 349  The Main Shared Core is to be created as follows:
350 350  
351 -1. Use// linphone_config_new_for_shared_core(app_group_id, config_filename, factory_path)// taking your //AppGroupId// and a config filename (i.e. linphonerc). It computes the path in the shared memory for your config file. The factory config path works as for a normal LinphoneCore. It returns a **LinphoneConfig** object suitable to instantiate a Shared Core.
352 -1. Use //linphone_factory_create_shared_core_with_config(factory, config, system_context, app_group_id, main_core)// to create the Shared Core. Set //main_core=TRUE// as we are creating a Main Shared Core for the app.
351 +1. Use// [[linphone_config_new_for_shared_core>>https://www.linphone.org/snapshots/docs/liblinphone/swift/Classes/Config.html#/s:10linphonesw6ConfigC16newForSharedCore10appGroupId14configFilename11factoryPathACSgSS_S2StFZ]](app_group_id, config_filename, factory_path)// taking your //AppGroupId// and a config filename (i.e. linphonerc). It computes the path in the shared memory for your config file. The factory config path works as for a normal LinphoneCore. It returns a **LinphoneConfig** object suitable to instantiate a Shared Core.
352 +1. Use //[[linphone_factory_create_shared_core_with_config>>https://www.linphone.org/snapshots/docs/liblinphone/swift/Classes/Factory.html#/s:10linphonesw7FactoryC26createSharedCoreWithConfig6config13systemContext10appGroupId04mainE0AA0E0CAA0G0C_SvSgSSSbtKF]](factory, config, system_context, app_group_id, main_core)// to create the Shared Core. Set //main_core=TRUE// as we are creating a Main Shared Core for the app.
353 353  
354 354  Note: linphone_factory_create_shared_core (factory, config_filename, factory_config_path, system_context, app_group_id, main_core) combines the two steps in a single function.
355 355