Fixed issue with streaming on low bandwidth being too fast.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2228 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
1e1ce0f448
commit
1bfa9f6c06
|
@ -1192,7 +1192,7 @@ void EventStream::runStream()
|
|||
if ( ((curr_frame_id-1)%frame_mod) == 0 )
|
||||
{
|
||||
delta_us = (unsigned int)(frame_data->delta * 1000000);
|
||||
if ( effective_fps > base_fps )
|
||||
if ( effective_fps < base_fps )
|
||||
delta_us = (delta_us * base_fps)/effective_fps;
|
||||
send_frame = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue