File linphone-0001-enable-codecs.patch of Package linphone
diff -U 3 -H -b -B -d -r -N -- a/coreapi/linphonecore.c /home/noname/Downloads/liblinphone-5.2.98/coreapi/linphonecore.c
--- a/coreapi/linphonecore.c
+++ /home/noname/Downloads/liblinphone-5.2.98/coreapi/linphonecore.c
@@ -2572,8 +2572,8 @@
linphone_core_register_payload_type(lc, &payload_type_t140, NULL, TRUE);
/*other audio codecs, not enabled by default, in order of preference*/
- linphone_core_register_payload_type(lc,&payload_type_gsm,NULL,FALSE);
- linphone_core_register_payload_type(lc,&payload_type_g722,NULL,FALSE);
+ linphone_core_register_payload_type(lc,&payload_type_gsm,NULL,TRUE);
+ linphone_core_register_payload_type(lc,&payload_type_g722,NULL,TRUE);
linphone_core_register_payload_type(lc,&payload_type_ilbc,"mode=30",FALSE);
linphone_core_register_payload_type(lc,&payload_type_amr,"octet-align=1",FALSE);
linphone_core_register_payload_type(lc,&payload_type_amrwb,"octet-align=1",FALSE);
@@ -2594,7 +2594,7 @@
linphone_core_register_payload_type(lc,&payload_type_aaceld_44k,aac_fmtp3244,FALSE);
linphone_core_register_payload_type(lc,&payload_type_aaceld_48k,aac_fmtp162248,FALSE);
linphone_core_register_payload_type(lc,&payload_type_isac,NULL,FALSE);
- linphone_core_register_payload_type(lc,&payload_type_speex_uwb,"vbr=on",FALSE);
+ linphone_core_register_payload_type(lc,&payload_type_speex_uwb,"vbr=on",TRUE);
linphone_core_register_payload_type(lc,&payload_type_silk_nb,NULL,FALSE);
linphone_core_register_payload_type(lc,&payload_type_silk_mb,NULL,FALSE);
linphone_core_register_payload_type(lc,&payload_type_silk_swb,NULL,FALSE);
@@ -2607,7 +2607,7 @@
linphone_core_register_payload_type(lc,&payload_type_aal2_g726_32,NULL,FALSE);
linphone_core_register_payload_type(lc,&payload_type_aal2_g726_40,NULL,FALSE);
linphone_core_register_payload_type(lc,&payload_type_codec2,NULL,FALSE);
- linphone_core_register_payload_type(lc,&payload_type_bv16,NULL,FALSE);
+ linphone_core_register_payload_type(lc,&payload_type_bv16,NULL,TRUE);
#ifdef VIDEO_ENABLED