nulladdr
nulladdr

Reputation: 561

skip buffered packets while decoding

I've got a Server that encodes live data and sends it as AVPackets, a Client decodes (H.264) and previews the data.
Sometimes because of connectivity issues the packets don't arrive at all, get buffered and the Client gets multiple at the same time. enter image description here

Now if the Client decodes all the buffered packets and such gaps repeat multiple times,
the lag keeps growing and the stream is no longer live.

The priority is to keep the stream live over quality and discontinuities.

Upvotes: 1

Views: 303

Answers (0)

Related Questions