Unwraps RTP sequence numbers (16-bit) to handle wraparound from 65535 to 0. More...
Instance Methods | |
| (instancetype) | - init |
| (long long) | - peekUnwrapWithSequenceNumber: |
| Returns the unwrapped value without updating the internal state. More... | |
| (void) | - reset |
| Resets the unwrapper to its initial state. More... | |
| (long long) | - unwrapWithSequenceNumber: |
| Unwraps the sequence number and updates the internal state. More... | |
Class Methods | |
| (FMLiveSwitchRtpSequenceNumberUnwrapper *) | + rtpSequenceNumberUnwrapper |
Unwraps RTP sequence numbers (16-bit) to handle wraparound from 65535 to 0.
The first unwrapped value equals the first value being unwrapped.
| - (instancetype) init |
| - (long long) peekUnwrapWithSequenceNumber: | (int) | sequenceNumber |
Returns the unwrapped value without updating the internal state.
| - (void) reset |
Resets the unwrapper to its initial state.
| + (FMLiveSwitchRtpSequenceNumberUnwrapper*) rtpSequenceNumberUnwrapper |
| - (long long) unwrapWithSequenceNumber: | (int) | sequenceNumber |
Unwraps the sequence number and updates the internal state.