Commit 0a09b7c9 authored by Simon Morlat's avatar Simon Morlat

Set good bandwidth to use VGA with videotoolbox

parent 9949784c
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment