Commit be8f5057 authored by Simon Morlat's avatar Simon Morlat
Browse files

add setting to request nowebcam to send normal fps

parent d7c00655
......@@ -2807,6 +2807,8 @@ static void linphone_call_start_video_stream(LinphoneCall *call, LinphoneCallSta
if (lc->video_conf.preview_vsize.width!=0)
video_stream_set_preview_size(call->videostream,lc->video_conf.preview_vsize);
video_stream_set_fps(call->videostream,linphone_core_get_preferred_framerate(lc));
if (lp_config_get_int(lc->config, "video", "nowebcam_uses_normal_fps", 0))
call->videostream->staticimage_webcam_fps_optimization = FALSE;
video_stream_set_sent_video_size(call->videostream,linphone_core_get_preferred_video_size(lc));
video_stream_enable_self_view(call->videostream,lc->video_conf.selfview);
if (call->video_window_id != NULL)
......
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