Commit 2cdda809 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless optimistic synchronization hack

We do it more properly when creating a source anyway.
parent 9da6dd53
......@@ -316,13 +316,6 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
src->last_rx = now;
src->last_ts = rtp_timestamp (block);
/* Be optimistic for the first packet. Certain codec, such as Vorbis
* do not like loosing the first packet(s), so we cannot just wait
* for proper sequence synchronization. And we don't want to assume that
* the sender starts at seq=0 either. */
if (src->blocks == NULL)
src->max_seq = seq - p_sys->max_dropout;
/* Check sequence number */
/* NOTE: the sequence number is per-source,
* but is independent from the payload type. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment