pion / interceptor

Pluggable RTP/RTCP processors for building real time communication
https://pion.ly/
MIT License
109 stars 55 forks source link

Jitter Buffer error #253

Closed dryarullin closed 3 months ago

dryarullin commented 5 months ago

Your environment.

What did you do?

I push and pop packets to the Jitter Buffer.

What did you expect?

If I added N packets then I can get N packets.

What happened?

If I pushed packet with a SequenceNumber equal MaxUint16, then I won't be able to pop it. Packets with this SequenceNumber are possible.

I think the problem is in the following code and similar.

@thatsnotright Have a look, please.