mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 08:40:28 +00:00
Receive: set timeout down to 10 ms (hack)
TODO: Timeout isn't in any case guaranteed to occur at the specified time but can occur anytime after that. So occasionally it is not triggered at all until the next frame arrival. This can cause that 2 frames' playout time passes at the moment. First one is displayed while the second dropped.
This commit is contained in:
@@ -536,7 +536,8 @@ static void *receiver_thread(void *arg)
|
||||
}
|
||||
|
||||
timeout.tv_sec = 0;
|
||||
timeout.tv_usec = 999999 / 59.94;
|
||||
//timeout.tv_usec = 999999 / 59.94;
|
||||
timeout.tv_usec = 10000;
|
||||
ret = rtp_recv_poll_r(uv->network_devices, &timeout, uv->ts);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user