FMLiveSwitchBasicVideoDepacketizer Class Reference

A basic video depacketizer. More...

Instance Methods

(FMLiveSwitchVideoFragment *) - doCreateFragmentWithHeader:dataBuffer:
 Creates a fragment from a data buffer. More...
 
(void) - doDestroy
 Destroys this instance. More...
 
(instancetype) - initWithFormat:
 Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class. More...
 
(instancetype) - initWithInput:
 Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class. More...
 
(bool) - isKeyFrameWithInputBuffer:
 Checks if the databuffer contains a keyframe. More...
 
(NSString *) - label
 Gets a label that identifies this class. More...
 
- Instance Methods inherited from FMLiveSwitchVideoDepacketizer
(bool) - delayDepacketize
 Gets a value indicating whether depacketizing should be delayed. More...
 
(bool) - delayDepacketizeOnPendingKeyFrame
 Gets a flag indicating whether depacketizing should be bypassed for incoming media packets when a key frame request has been made via a PLI message. More...
 
(void) - doProcessFrame:inputBuffer:
 Processes a frame. More...
 
(void) - doProcessTrackStatsFromInputWithTrackStats:
 Process track stats from an input. More...
 
(long long) - framesCorrupted
 Gets the number of corrupted frames. More...
 
(long long) - framesDropped
 Gets the number of dropped frames. More...
 
(long long) - framesReceived
 Gets the number of received frames. More...
 
(instancetype) - initWithInputFormat:outputFormat:
 Initializes a new instance of the FMLiveSwitchVideoDepacketizer`1 class. More...
 
(bool) - isGapAllowedWithFragment:lastFragment:
 Determines whether a gap between two fragments is allowed. More...
 
(void) - sendKeyFrameRequestWithReason:
 Sends a key-frame request. More...
 
(void) - setDelayDepacketizeOnPendingKeyFrame:
 Sets a flag indicating whether depacketizing should be bypassed for incoming media packets when a key frame request has been made via a PLI message. More...
 

Class Methods

(FMLiveSwitchBasicVideoDepacketizer *) + basicVideoDepacketizerWithFormat:
 Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class. More...
 
(FMLiveSwitchBasicVideoDepacketizer *) + basicVideoDepacketizerWithInput:
 Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class. More...
 
- Class Methods inherited from FMLiveSwitchVideoDepacketizer
(FMLiveSwitchVideoDepacketizer *) + videoDepacketizerWithFormat:
 Initializes a new instance of the FMLiveSwitchVideoDepacketizer`1 class. More...
 
(FMLiveSwitchVideoDepacketizer *) + videoDepacketizerWithInput:
 Initializes a new instance of the FMLiveSwitchVideoDepacketizer`1 class. More...
 
(FMLiveSwitchVideoDepacketizer *) + videoDepacketizerWithInputFormat:outputFormat:
 Initializes a new instance of the FMLiveSwitchVideoDepacketizer`1 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchVideoDepacketizer
 __pad0__: FMLiveSwitchVideoPipe- (bool) allowDiagnosticTimer
 

Detailed Description

A basic video depacketizer.

Method Documentation

◆ basicVideoDepacketizerWithFormat:

+ (FMLiveSwitchBasicVideoDepacketizer*) basicVideoDepacketizerWithFormat: (FMLiveSwitchVideoFormat *)  format

Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class.

Parameters
formatThe format.

◆ basicVideoDepacketizerWithInput:

+ (FMLiveSwitchBasicVideoDepacketizer*) basicVideoDepacketizerWithInput: (NSObject< FMLiveSwitchIVideoOutput > *)  input

Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class.

Parameters
inputThe input.

◆ doCreateFragmentWithHeader:dataBuffer:

- (FMLiveSwitchVideoFragment*) doCreateFragmentWithHeader: (FMLiveSwitchRtpPacketHeader *)  header
dataBuffer: (FMLiveSwitchDataBuffer *)  dataBuffer 

Creates a fragment from a data buffer.

Parameters
headerThe rtp header for this packet.
dataBufferThe data buffer.

Implements FMLiveSwitchVideoDepacketizer.

◆ doDestroy

- (void) doDestroy

Destroys this instance.

Implements FMLiveSwitchVideoDepacketizer.

◆ initWithFormat:

- (instancetype) initWithFormat: (FMLiveSwitchVideoFormat *)  format

Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class.

Parameters
formatThe format.

Implements FMLiveSwitchVideoDepacketizer.

◆ initWithInput:

- (instancetype) initWithInput: (NSObject< FMLiveSwitchIVideoOutput > *)  input

Initializes a new instance of the FMLiveSwitchBasicVideoDepacketizer class.

Parameters
inputThe input.

Implements FMLiveSwitchVideoDepacketizer.

◆ isKeyFrameWithInputBuffer:

- (bool) isKeyFrameWithInputBuffer: (FMLiveSwitchDataBuffer *)  inputBuffer

Checks if the databuffer contains a keyframe.

Parameters
inputBufferVideoBuffer containing video data.

Implements FMLiveSwitchVideoDepacketizer.

◆ label

- (NSString*) label

Gets a label that identifies this class.