An H.264 packet fragment. More...
Instance Methods | |
(void) | - destroy |
Destroys this fragment. More... | |
(instancetype) | - initWithHeader:dataBuffer: |
Initializes a new instance of the FMLiveSwitchH264Fragment class. More... | |
Instance Methods inherited from FMLiveSwitchVideoFragment | |
(FMLiveSwitchDataBuffer *) | - buffer |
Gets the data. More... | |
(bool) | - first |
Gets whether this is the first packet. More... | |
(void) | - free |
Frees the underlying data buffer. More... | |
(instancetype) | - init |
(void) | - keep |
Keeps the underlying data buffer. More... | |
(bool) | - last |
Gets whether this is the last packet. More... | |
(void) | - setBuffer: |
Sets the data. More... | |
(void) | - setFirst: |
Sets whether this is the first packet. More... | |
(void) | - setLast: |
Sets whether this is the last packet. More... | |
Class Methods | |
(FMLiveSwitchH264Fragment *) | + fragmentWithHeader:dataBuffer: |
Initializes a new instance of the FMLiveSwitchH264Fragment class. More... | |
Class Methods inherited from FMLiveSwitchVideoFragment | |
(FMLiveSwitchVideoFragment *) | + videoFragment |
An H.264 packet fragment.
- (void) destroy |
Destroys this fragment.
Implements FMLiveSwitchVideoFragment.
+ (FMLiveSwitchH264Fragment*) fragmentWithHeader: | (FMLiveSwitchRtpPacketHeader *) | header | |
dataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
Initializes a new instance of the FMLiveSwitchH264Fragment class.
header | The rtp packet header. |
dataBuffer | The data buffer. |
- (instancetype) initWithHeader: | (FMLiveSwitchRtpPacketHeader *) | header | |
dataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
Initializes a new instance of the FMLiveSwitchH264Fragment class.
header | The rtp packet header. |
dataBuffer | The data buffer. |