Unwraps RTP sequence numbers (16-bit) to handle wraparound from 65535 to 0. More...
Public Member Functions | |
| long | peekUnwrap (int sequenceNumber) |
| Returns the unwrapped value without updating the internal state. More... | |
| void | reset () |
| Resets the unwrapper to its initial state. More... | |
| RtpSequenceNumberUnwrapper () | |
| long | unwrap (int sequenceNumber) |
| Unwraps the sequence number and updates the internal state. More... | |
Unwraps RTP sequence numbers (16-bit) to handle wraparound from 65535 to 0.
The first unwrapped value equals the first value being unwrapped.
| fm.liveswitch.RtpSequenceNumberUnwrapper.RtpSequenceNumberUnwrapper | ( | ) |
| long fm.liveswitch.RtpSequenceNumberUnwrapper.peekUnwrap | ( | int | sequenceNumber | ) |
Returns the unwrapped value without updating the internal state.
| void fm.liveswitch.RtpSequenceNumberUnwrapper.reset | ( | ) |
Resets the unwrapper to its initial state.
| long fm.liveswitch.RtpSequenceNumberUnwrapper.unwrap | ( | int | sequenceNumber | ) |
Unwraps the sequence number and updates the internal state.