A media buffer. More...
Instance Methods | |
| (TBuffer) | - createInstance |
| Creates a new instance. More... | |
| (FMLiveSwitchDataBuffer *) | - dataBuffer |
| Gets the data buffer. More... | |
| (NSMutableArray *) | - dataBuffers |
| Gets the data buffers. More... | |
| (NSString *) | - description |
| Returns a string that represents this instance. More... | |
| (int) | - footprint |
| Gets the approximate footprint of this media buffer by returning the sum of its data buffer lengths. More... | |
| (TFormat) | - format |
| Gets the format. More... | |
| (TBuffer) | - free |
| Frees the data buffers referenced by this instance. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
| (instancetype) | - initWithDataBuffer:format: |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
| (instancetype) | - initWithDataBuffers:format: |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
| (bool) | - isMuted |
| Gets a value indicating whether this instance has been muted. More... | |
| (TBuffer) | - keep |
| Keeps the data buffers referenced by this instance. More... | |
| (long long) | - lastSequenceNumber |
| Gets the last sequence number. More... | |
| (bool) | - mute |
| Mutes this instance. More... | |
| (bool) | - recoveredByFec |
| Gets a value indicating whether this buffer contains data recovered by forward error correction (FEC). More... | |
| (FMLiveSwitchRtpPacketHeader *) | - rtpHeader |
| Gets the Rtp Packet Header for this media buffer. More... | |
| (NSMutableArray *) | - rtpHeaders |
| Gets the RTP Packet Headers for this media buffer. More... | |
| (int) | - rtpSequenceNumber |
| Gets the RTP sequence number. More... | |
| (NSMutableArray *) | - rtpSequenceNumbers |
| Gets the RTP sequence numbers. More... | |
| (long long) | - sequenceNumber |
| Gets the sequence number. More... | |
| (NSMutableArray *) | - sequenceNumbers |
| Gets the sequence numbers. More... | |
| (void) | - setDataBuffer: |
| Sets the data buffer. More... | |
| (void) | - setDataBuffers: |
| Sets the data buffers. More... | |
| (void) | - setFormat: |
| Sets the format. More... | |
| (void) | - setRecoveredByFec: |
| Sets a value indicating whether this buffer contains data recovered by forward error correction (FEC). More... | |
| (void) | - setRtpHeader: |
| Sets the Rtp Packet Header for this media buffer. More... | |
| (void) | - setRtpHeaders: |
| Sets the RTP Packet Headers for this media buffer. More... | |
| (void) | - setSequenceNumber: |
| Sets the sequence number. More... | |
| (void) | - setSequenceNumbers: |
| Sets the sequence numbers. More... | |
| (void) | - setSourceId: |
| Sets the source identifier. More... | |
| (NSString *) | - sourceId |
| Gets the source identifier. More... | |
| (bool) | - tryKeep |
| Attempts to keep the data buffers referenced by this instance. More... | |
Class Methods | |
| (FMLiveSwitchMediaBuffer *) | + mediaBuffer |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
| (FMLiveSwitchMediaBuffer *) | + mediaBufferWithDataBuffer:format: |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
| (FMLiveSwitchMediaBuffer *) | + mediaBufferWithDataBuffers:format: |
| Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class. More... | |
Protected Attributes | |
| __pad0__: FMLiveSwitchDynamic- (TBuffer) clone | |
A media buffer.
| - (TBuffer) createInstance |
Creates a new instance.
Implemented in FMLiveSwitchVideoBuffer, FMLiveSwitchPacketizedVideoBuffer, FMLiveSwitchPacketizedAudioBuffer, and FMLiveSwitchAudioBuffer.
| - (FMLiveSwitchDataBuffer*) dataBuffer |
Gets the data buffer.
| - (NSMutableArray*) dataBuffers |
Gets the data buffers.
| - (NSString*) description |
Returns a string that represents this instance.
| - (int) footprint |
Gets the approximate footprint of this media buffer by returning the sum of its data buffer lengths.
| - (TFormat) format |
Gets the format.
| - (TBuffer) free |
Frees the data buffers referenced by this instance.
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
Implemented in FMLiveSwitchVideoBuffer, and FMLiveSwitchAudioBuffer.
| - (instancetype) initWithDataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
| format: | (TFormat) | format | |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
| dataBuffer | The data buffer. |
| format | The format. |
| - (instancetype) initWithDataBuffers: | (NSMutableArray *) | dataBuffers | |
| format: | (TFormat) | format | |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
| dataBuffers | The data buffers. |
| format | The format. |
| - (bool) isMuted |
Gets a value indicating whether this instance has been muted.
Implemented in FMLiveSwitchVideoBuffer, and FMLiveSwitchAudioBuffer.
| - (TBuffer) keep |
Keeps the data buffers referenced by this instance.
| - (long long) lastSequenceNumber |
Gets the last sequence number.
| + (FMLiveSwitchMediaBuffer*) mediaBuffer |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
| + (FMLiveSwitchMediaBuffer*) mediaBufferWithDataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
| format: | (TFormat) | format | |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
| dataBuffer | The data buffer. |
| format | The format. |
| + (FMLiveSwitchMediaBuffer*) mediaBufferWithDataBuffers: | (NSMutableArray *) | dataBuffers | |
| format: | (TFormat) | format | |
Initializes a new instance of the FMLiveSwitchMediaBuffer`2 class.
| dataBuffers | The data buffers. |
| format | The format. |
| - (bool) mute |
Mutes this instance.
This is a one-way operation that clears the underlying data buffer. If the buffer has an unsupported format, this method will return false.
Implemented in FMLiveSwitchVideoBuffer, and FMLiveSwitchAudioBuffer.
| - (bool) recoveredByFec |
Gets a value indicating whether this buffer contains data recovered by forward error correction (FEC).
| - (FMLiveSwitchRtpPacketHeader*) rtpHeader |
Gets the Rtp Packet Header for this media buffer.
| - (NSMutableArray*) rtpHeaders |
Gets the RTP Packet Headers for this media buffer.
| - (int) rtpSequenceNumber |
Gets the RTP sequence number.
| - (NSMutableArray*) rtpSequenceNumbers |
Gets the RTP sequence numbers.
| - (long long) sequenceNumber |
Gets the sequence number.
| - (NSMutableArray*) sequenceNumbers |
Gets the sequence numbers.
| - (void) setDataBuffer: | (FMLiveSwitchDataBuffer *) | value |
Sets the data buffer.
| - (void) setDataBuffers: | (NSMutableArray *) | value |
Sets the data buffers.
| - (void) setFormat: | (TFormat) | value |
Sets the format.
| - (void) setRecoveredByFec: | (bool) | value |
Sets a value indicating whether this buffer contains data recovered by forward error correction (FEC).
| - (void) setRtpHeader: | (FMLiveSwitchRtpPacketHeader *) | value |
Sets the Rtp Packet Header for this media buffer.
| - (void) setRtpHeaders: | (NSMutableArray *) | value |
Sets the RTP Packet Headers for this media buffer.
| - (void) setSequenceNumber: | (long long) | value |
Sets the sequence number.
| - (void) setSequenceNumbers: | (NSMutableArray *) | value |
Sets the sequence numbers.
| - (void) setSourceId: | (NSString *) | value |
Sets the source identifier.
| - (NSString*) sourceId |
Gets the source identifier.
| - (bool) tryKeep |
Attempts to keep the data buffers referenced by this instance.
|
protected |