Look for 0.15 seconds of a lead time...

This commit is contained in:
Mike Brady
2021-12-21 15:18:14 +00:00
parent f0134387b9
commit fc736cd12f
+1 -1
View File
@@ -1063,7 +1063,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) {
int64_t lt = conn->first_packet_time_to_play - local_time_now;
if (lt < 100000000) {
if (lt < 150000000) {
debug(1, "Connection %d: Short lead time for first frame %" PRId64 ": %f seconds. Flushing 0.5 seconds",
conn->connection_number, conn->first_packet_timestamp, lt * 0.000000001);
do_flush(conn->first_packet_timestamp + 5 * 4410, conn);