mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Add opus codec.
This commit is contained in:
parent
5e8f0d1ca3
commit
92f4fafe9e
1 changed files with 2 additions and 0 deletions
|
|
@ -838,6 +838,7 @@ typedef struct codec_desc{
|
|||
}codec_desc_t;
|
||||
|
||||
static codec_desc_t codec_pref_order[]={
|
||||
{"opus", 48000},
|
||||
{"SILK", 16000},
|
||||
{"speex", 16000},
|
||||
{"speex", 8000},
|
||||
|
|
@ -1311,6 +1312,7 @@ static void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vta
|
|||
linphone_core_assign_payload_type(lc,&payload_type_g729,18,"annexb=no");
|
||||
linphone_core_assign_payload_type(lc,&payload_type_aaceld_22k,-1,"config=F8EE2000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5");
|
||||
linphone_core_assign_payload_type(lc,&payload_type_aaceld_44k,-1,"config=F8E82000; constantDuration=512; indexDeltaLength=3; indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5");
|
||||
linphone_core_assign_payload_type(lc,&payload_type_opus,-1,NULL);
|
||||
linphone_core_handle_static_payloads(lc);
|
||||
|
||||
ms_init();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue