An RTP packet. More...
Instance Methods | |
| (FMLiveSwitchDataBuffer *) | - buffer | 
| Gets the buffer.  More... | |
| (int) | - contributingSourceCount | 
| Gets the number of contributingSources.  More... | |
| (NSMutableArray *) | - contributingSources | 
| Gets the contributing sources.  More... | |
| (int) | - contributingSourcesLength | 
| Gets the length of the contributingSources in bytes.  More... | |
| (int) | - contributingSourcesOffset | 
| Gets the offset of the contributingSources array.  More... | |
| (bool) | - extension | 
| Gets a value indicating whether this FMLiveSwitchRtpPacket has a header extension.  More... | |
| (FMLiveSwitchDataBuffer *) | - header | 
| Gets the header.  More... | |
| (FMLiveSwitchDataBuffer *) | - headerExtension | 
| Gets the header extension.  More... | |
| (int) | - headerExtensionId | 
| Gets the header extension ID.  More... | |
| (int) | - headerExtensionLength | 
| Gets the length of the headerExtension in bytes.  More... | |
| (int) | - headerExtensionOffset | 
| Gets the offset of the headerExtensionId.  More... | |
| (int) | - headerLength | 
| Gets the length of the fixed and variable headers.  More... | |
| (instancetype) | - init | 
| Initializes a new instance of the FMLiveSwitchRtpPacket class.  More... | |
| (instancetype) | - initWithPayload: | 
| Initializes a new instance of the FMLiveSwitchRtpPacket class.  More... | |
| (bool) | - marker | 
| Gets a value indicating whether this FMLiveSwitchRtpPacket has the marker flag set.  More... | |
| (bool) | - padding | 
| Gets a value indicating whether this FMLiveSwitchRtpPacket is padded.  More... | |
| (int) | - paddingLength | 
| Gets the padding length.  More... | |
| (FMLiveSwitchDataBuffer *) | - payload | 
| Gets the packet payload.  More... | |
| (int) | - payloadLength | 
| Gets the length of the payload.  More... | |
| (int) | - payloadOffset | 
| Gets the offset of the payload.  More... | |
| (int) | - payloadType | 
| Gets the payload type.  More... | |
| (int) | - sequenceNumber | 
| Gets the sequence number.  More... | |
| (void) | - setContributingSources: | 
| Sets the contributing sources.  More... | |
| (void) | - setHeaderExtension: | 
| Sets the header extension.  More... | |
| (void) | - setHeaderExtensionId: | 
| Sets the header extension ID.  More... | |
| (void) | - setMarker: | 
| Sets a value indicating whether this FMLiveSwitchRtpPacket has the marker flag set.  More... | |
| (void) | - setPadding: | 
| Sets a value indicating whether this FMLiveSwitchRtpPacket is padded.  More... | |
| (void) | - setPayload: | 
| Sets the packet payload.  More... | |
| (void) | - setPayloadType: | 
| Sets the payload type.  More... | |
| (void) | - setSequenceNumber: | 
| Sets the sequence number.  More... | |
| (void) | - setSynchronizationSource: | 
| Sets the synchronization source.  More... | |
| (void) | - setTimestamp: | 
| Sets the timestamp.  More... | |
| (void) | - setVersion: | 
| Sets the version.  More... | |
| (long long) | - synchronizationSource | 
| Gets the synchronization source.  More... | |
| (long long) | - timestamp | 
| Gets the timestamp.  More... | |
| (int) | - variableHeaderLength | 
| Gets the length of the variable header.  More... | |
| (int) | - version | 
| Gets the version.  More... | |
Class Methods | |
| (int) | + fixedHeaderLength | 
| Gets the length of the fixed header.  More... | |
| (int) | + getSequenceNumberDeltaWithSequenceNumber:lastSequenceNumber: | 
| Retrieves the difference between two sequence numbers while accounting for overflow rollover.  More... | |
| (FMLiveSwitchRtpPacket *) | + rtpPacket | 
| Initializes a new instance of the FMLiveSwitchRtpPacket class.  More... | |
| (FMLiveSwitchRtpPacket *) | + rtpPacketWithPayload: | 
| Initializes a new instance of the FMLiveSwitchRtpPacket class.  More... | |
| (FMLiveSwitchRtpPacket *) | + wrapWithBuffer: | 
| Parses the specified buffer.  More... | |
An RTP packet.
| - (FMLiveSwitchDataBuffer*) buffer | 
Gets the buffer.
| - (int) contributingSourceCount | 
Gets the number of contributingSources.
| - (NSMutableArray*) contributingSources | 
Gets the contributing sources.
| - (int) contributingSourcesLength | 
Gets the length of the contributingSources in bytes.
| - (int) contributingSourcesOffset | 
Gets the offset of the contributingSources array.
| - (bool) extension | 
Gets a value indicating whether this FMLiveSwitchRtpPacket has a header extension.
If the extension bit is set, the fixed header MUST be followed by exactly one header extension.
| + (int) fixedHeaderLength | 
Gets the length of the fixed header.
| + (int) getSequenceNumberDeltaWithSequenceNumber: | (int) | sequenceNumber | |
| lastSequenceNumber: | (int) | lastSequenceNumber | |
Retrieves the difference between two sequence numbers while accounting for overflow rollover.
| sequenceNumber | The current sequence number. | 
| lastSequenceNumber | The last (previous) sequence number. | 
| - (FMLiveSwitchDataBuffer*) header | 
Gets the header.
| - (FMLiveSwitchDataBuffer*) headerExtension | 
Gets the header extension.
| - (int) headerExtensionId | 
Gets the header extension ID.
| - (int) headerExtensionLength | 
Gets the length of the headerExtension in bytes.
| - (int) headerExtensionOffset | 
Gets the offset of the headerExtensionId.
| - (int) headerLength | 
Gets the length of the fixed and variable headers.
| - (instancetype) init | 
Initializes a new instance of the FMLiveSwitchRtpPacket class.
| - (instancetype) initWithPayload: | (FMLiveSwitchDataBuffer *) | payload | 
Initializes a new instance of the FMLiveSwitchRtpPacket class.
| payload | The payload for the RTP packet. | 
| - (bool) marker | 
Gets a value indicating whether this FMLiveSwitchRtpPacket has the marker flag set.
| - (bool) padding | 
Gets a value indicating whether this FMLiveSwitchRtpPacket is padded.
| - (int) paddingLength | 
Gets the padding length.
| - (FMLiveSwitchDataBuffer*) payload | 
Gets the packet payload.
| - (int) payloadLength | 
Gets the length of the payload.
| - (int) payloadOffset | 
Gets the offset of the payload.
| - (int) payloadType | 
Gets the payload type.
| + (FMLiveSwitchRtpPacket*) rtpPacket | 
Initializes a new instance of the FMLiveSwitchRtpPacket class.
| + (FMLiveSwitchRtpPacket*) rtpPacketWithPayload: | (FMLiveSwitchDataBuffer *) | payload | 
Initializes a new instance of the FMLiveSwitchRtpPacket class.
| payload | The payload for the RTP packet. | 
| - (int) sequenceNumber | 
Gets the sequence number.
| - (void) setContributingSources: | (NSMutableArray *) | value | 
Sets the contributing sources.
| - (void) setHeaderExtension: | (FMLiveSwitchDataBuffer *) | value | 
Sets the header extension.
| - (void) setHeaderExtensionId: | (int) | value | 
Sets the header extension ID.
| - (void) setMarker: | (bool) | value | 
Sets a value indicating whether this FMLiveSwitchRtpPacket has the marker flag set.
| - (void) setPadding: | (bool) | value | 
Sets a value indicating whether this FMLiveSwitchRtpPacket is padded.
| - (void) setPayload: | (FMLiveSwitchDataBuffer *) | value | 
Sets the packet payload.
| - (void) setPayloadType: | (int) | value | 
Sets the payload type.
| - (void) setSequenceNumber: | (int) | value | 
Sets the sequence number.
| - (void) setSynchronizationSource: | (long long) | value | 
Sets the synchronization source.
| - (void) setTimestamp: | (long long) | value | 
Sets the timestamp.
| - (void) setVersion: | (int) | value | 
Sets the version.
This field identifies the version of RTP. The version defined by this specification is two(2). (The value 1 is used by the first draft version of RTP and the value 0 is used by the protocol initially implemented in the "vat" audio tool.)
| - (long long) synchronizationSource | 
Gets the synchronization source.
| - (long long) timestamp | 
Gets the timestamp.
| - (int) variableHeaderLength | 
Gets the length of the variable header.
| - (int) version | 
Gets the version.
This field identifies the version of RTP. The version defined by this specification is two(2). (The value 1 is used by the first draft version of RTP and the value 0 is used by the protocol initially implemented in the "vat" audio tool.)
| + (FMLiveSwitchRtpPacket*) wrapWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | 
Parses the specified buffer.
| buffer | The buffer. |