TT#136957 correctly schedule send-now RTP packets

Change-Id: Ie96324329dae131f24784916911189dd8cf3d6b8
pull/1421/head
Richard Fuchs 4 years ago
parent 9be9ceb8f9
commit 757cee2125

@ -1583,7 +1583,7 @@ static void __output_rtp(struct media_packet *mp, struct codec_ssrc_handler *ch,
if (ts_diff_us > 1000000 || ts_diff_us < -1000000) // more than one second, can't be right
ch->first_send.tv_sec = 0; // fix it up below
}
if (!ch->first_send.tv_sec) {
if (!ch->first_send.tv_sec || !p->ttq_entry.when.tv_sec) {
p->ttq_entry.when = ch->first_send = rtpe_now;
ch->first_send_ts = ts;
}

Loading…
Cancel
Save