FMLiveSwitchH265Fragment Class Reference

An H.265 packet fragment. More...

Instance Methods

(void) - destroy
 Destroys this fragment. More...
 
(instancetype) - initWithHeader:dataBuffer:
 Initializes a new instance of the FMLiveSwitchH265Fragment 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

(FMLiveSwitchH265Fragment *) + fragmentWithHeader:dataBuffer:
 Initializes a new instance of the FMLiveSwitchH265Fragment class. More...
 
- Class Methods inherited from FMLiveSwitchVideoFragment
(FMLiveSwitchVideoFragment *) + videoFragment
 

Detailed Description

An H.265 packet fragment.

Method Documentation

◆ destroy

- (void) destroy

Destroys this fragment.

Implements FMLiveSwitchVideoFragment.

◆ fragmentWithHeader:dataBuffer:

+ (FMLiveSwitchH265Fragment*) fragmentWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Initializes a new instance of the FMLiveSwitchH265Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.

◆ initWithHeader:dataBuffer:

- (instancetype) initWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Initializes a new instance of the FMLiveSwitchH265Fragment class.

Parameters
headerThe rtp packet header.
dataBufferThe data buffer.