Look for 0.15 seconds of a lead time...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user