Skip to content

rtpstorage: Limit the queue size

Limit to the queue size in case there is no arrival time or in case there is a huge flood of packets.

Currently, if there is no arrival time, such as when depayloading using rtpstreamdepay, the queue will grow infinitely!

The code/limits are copy-pasted from rtpjitterbuffer, as we assume that the packets will be the same, so it makes sense to have the same limits.

Merge request reports