mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
remove call to linphone_factory_create_core from offer/answer tests
This commit is contained in:
parent
2ae73cb39c
commit
d0b5c85d13
2 changed files with 3 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ static int get_codec_position(const MSList *l, const char *mime_type, int rate){
|
|||
|
||||
/*check basic things about codecs at startup: order and enablement*/
|
||||
static void start_with_no_config(void){
|
||||
LinphoneCore *lc=linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL);
|
||||
LinphoneCore *lc=linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context);
|
||||
const MSList *codecs=linphone_core_get_audio_codecs(lc);
|
||||
int opus_codec_pos;
|
||||
int speex_codec_pos=get_codec_position(codecs, "speex", 8000);
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ end:
|
|||
}
|
||||
|
||||
static void friends_sqlite_store_lot_of_friends(void) {
|
||||
LinphoneCore* lc = linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL);
|
||||
LinphoneCore* lc = linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context);
|
||||
sqlite3 *db;
|
||||
int i;
|
||||
char* errmsg = NULL;
|
||||
|
|
@ -428,7 +428,7 @@ static void friends_sqlite_store_lot_of_friends(void) {
|
|||
}
|
||||
|
||||
static void friends_sqlite_find_friend_in_lot_of_friends(void) {
|
||||
LinphoneCore* lc = linphone_factory_create_core(linphone_factory_get(), NULL, NULL, NULL);
|
||||
LinphoneCore* lc = linphone_factory_create_core_2(linphone_factory_get(), NULL, NULL, NULL, NULL, system_context);
|
||||
sqlite3 *db;
|
||||
int i;
|
||||
char* errmsg = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue