mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Set good bandwidth to use VGA with videotoolbox
This commit is contained in:
parent
9949784c2d
commit
0a09b7c987
1 changed files with 5 additions and 1 deletions
|
|
@ -1540,7 +1540,11 @@ static void classic_video_entry_phone_setup(void) {
|
|||
if (ms_factory_get_encoder(linphone_core_get_ms_factory(callee_mgr->lc), "H264")->id == MS_VT_H264_ENC_ID){
|
||||
MSVideoSize vsize = MS_VIDEO_SIZE_VGA;
|
||||
linphone_core_set_preferred_video_size(callee_mgr->lc, vsize);
|
||||
linphone_core_set_preferred_video_size(callee_mgr->lc, vsize);
|
||||
linphone_core_set_preferred_video_size(caller_mgr->lc, vsize);
|
||||
linphone_core_set_download_bandwidth(callee_mgr->lc, 512);
|
||||
linphone_core_set_download_bandwidth(caller_mgr->lc, 512);
|
||||
linphone_core_set_upload_bandwidth(callee_mgr->lc, 512);
|
||||
linphone_core_set_upload_bandwidth(caller_mgr->lc, 512);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue