A fragment of a video frame. More...
Instance Methods | |
(FMLiveSwitchDataBuffer *) | - buffer |
Gets the data. More... | |
(void) | - destroy |
Destroys this fragment. 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 | |
(FMLiveSwitchVideoFragment *) | + videoFragment |
A fragment of a video frame.
- (FMLiveSwitchDataBuffer*) buffer |
Gets the data.
- (void) destroy |
Destroys this fragment.
Implemented in FMLiveSwitchH265Fragment, and FMLiveSwitchH264Fragment.
- (bool) first |
Gets whether this is the first packet.
- (void) free |
Frees the underlying data buffer.
- (instancetype) init |
- (void) keep |
Keeps the underlying data buffer.
- (bool) last |
Gets whether this is the last packet.
- (void) setBuffer: | (FMLiveSwitchDataBuffer *) | value |
Sets the data.
- (void) setFirst: | (bool) | value |
Sets whether this is the first packet.
- (void) setLast: | (bool) | value |
Sets whether this is the last packet.
+ (FMLiveSwitchVideoFragment*) videoFragment |