mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
don't force using vp8
This commit is contained in:
parent
4b2969559b
commit
38b54b6c38
1 changed files with 6 additions and 1 deletions
|
|
@ -193,7 +193,12 @@ static LinphoneCallParams * _configure_for_video(LinphoneCoreManager *manager, L
|
|||
linphone_core_enable_video_display(manager->lc, TRUE);
|
||||
params = linphone_core_create_default_call_parameters(manager->lc);
|
||||
linphone_call_params_enable_video(params, TRUE);
|
||||
disable_all_video_codecs_except_one(manager->lc, "VP8");
|
||||
if (linphone_core_find_payload_type(manager->lc,"VP8", 90000, -1)!=NULL){
|
||||
disable_all_video_codecs_except_one(manager->lc, "VP8");
|
||||
}else{
|
||||
ms_warning("VP8 codec not available, will use MP4V-ES instead");
|
||||
disable_all_video_codecs_except_one(manager->lc, "MP4V-ES");
|
||||
}
|
||||
return params;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue