FMLiveSwitchVp8Depacketizer Class Reference

A VP8 depacketizer. More...

Instance Methods

(FMLiveSwitchVp8Fragment *) - doCreateFragmentWithHeader:dataBuffer:
 Creates a fragment from a data buffer. More...
 
(void) - doDestroy
 Destroys this instance. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchVp8Depacketizer class. More...
 
(instancetype) - initWithInput:
 Initializes a new instance of the FMLiveSwitchVp8Depacketizer class. More...
 
(bool) - isGapAllowedWithFragment:lastFragment:
 Determines whether a gap between two fragments is allowed. More...
 
(bool) - isKeyFrameWithInputBuffer:
 Determines whether a buffer represents the start of 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) - initWithFormat:
 Initializes a new instance of the FMLiveSwitchVideoDepacketizer`1 class. 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

(FMLiveSwitchVp8Depacketizer *) + depacketizer
 Initializes a new instance of the FMLiveSwitchVp8Depacketizer class. More...
 
(FMLiveSwitchVp8Depacketizer *) + depacketizerWithInput:
 Initializes a new instance of the FMLiveSwitchVp8Depacketizer 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 VP8 depacketizer.

Method Documentation

◆ depacketizer

+ (FMLiveSwitchVp8Depacketizer*) depacketizer

Initializes a new instance of the FMLiveSwitchVp8Depacketizer class.

◆ depacketizerWithInput:

+ (FMLiveSwitchVp8Depacketizer*) depacketizerWithInput: (NSObject< FMLiveSwitchIVideoOutput > *)  input

Initializes a new instance of the FMLiveSwitchVp8Depacketizer class.

Parameters
inputThe input.

◆ doCreateFragmentWithHeader:dataBuffer:

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

Creates a fragment from a data buffer.

Parameters
headerThe RTP header for this packet.
dataBufferThe data buffer.
Returns
A fragment.

Implements FMLiveSwitchVideoDepacketizer.

◆ doDestroy

- (void) doDestroy

Destroys this instance.

Implements FMLiveSwitchVideoDepacketizer.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchVp8Depacketizer class.

◆ initWithInput:

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

Initializes a new instance of the FMLiveSwitchVp8Depacketizer class.

Parameters
inputThe input.

Implements FMLiveSwitchVideoDepacketizer.

◆ isGapAllowedWithFragment:lastFragment:

- (bool) isGapAllowedWithFragment: (FMLiveSwitchVp8Fragment *)  fragment
lastFragment: (FMLiveSwitchVp8Fragment *)  lastFragment 

Determines whether a gap between two fragments is allowed.

Parameters
fragmentThe fragment.
lastFragmentThe last fragment.
Returns
true if the gap is allowed; otherwise, false.

◆ isKeyFrameWithInputBuffer:

- (bool) isKeyFrameWithInputBuffer: (FMLiveSwitchDataBuffer *)  inputBuffer

Determines whether a buffer represents the start of a keyframe.

Parameters
inputBufferThe buffer.
Returns
true if the buffer represents the start of a keyframe; otherwise, false.

Implements FMLiveSwitchVideoDepacketizer.

◆ label

- (NSString*) label

Gets a label that identifies this class.