FMLiveSwitchVideoFragment Class Reference

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
 

Detailed Description

A fragment of a video frame.

Method Documentation

◆ buffer

Gets the data.

◆ destroy

- (void) destroy

Destroys this fragment.

Implemented in FMLiveSwitchH265Fragment, and FMLiveSwitchH264Fragment.

◆ first

- (bool) first

Gets whether this is the first packet.

◆ free

- (void) free

Frees the underlying data buffer.

◆ init

- (instancetype) init

◆ keep

- (void) keep

Keeps the underlying data buffer.

◆ last

- (bool) last

Gets whether this is the last packet.

◆ setBuffer:

- (void) setBuffer: (FMLiveSwitchDataBuffer *)  value

Sets the data.

◆ setFirst:

- (void) setFirst: (bool)  value

Sets whether this is the first packet.

◆ setLast:

- (void) setLast: (bool)  value

Sets whether this is the last packet.

◆ videoFragment

+ (FMLiveSwitchVideoFragment*) videoFragment