An H.264 depacketizer. More...
Instance Methods | |
(FMLiveSwitchH264Fragment *) | - doCreateFragmentWithHeader:dataBuffer: |
Creates a fragment from a data buffer. More... | |
(void) | - doDestroy |
Destroys this instance. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class. More... | |
(instancetype) | - initWithInput: |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class. More... | |
(instancetype) | - initWithPacketizationMode: |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class. More... | |
(instancetype) | - initWithProfile:level:packetizationMode: |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class. More... | |
(instancetype) | - initWithProfileLevelId:packetizationMode: |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class. More... | |
(bool) | - isKeyFrameWithInputBuffer: |
Checks if the databuffer contains a keyframe. More... | |
(NSString *) | - label |
Gets a label that identifies this class. More... | |
(int) | - packetizationMode |
Gets the packetization mode. More... | |
(void) | - raiseFrame: |
Raises a frame. 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... | |
Additional Inherited Members | |
Protected Attributes inherited from FMLiveSwitchVideoDepacketizer | |
__pad0__: FMLiveSwitchVideoPipe- (bool) allowDiagnosticTimer | |
An H.264 depacketizer.
+ (FMLiveSwitchH264Depacketizer*) depacketizer |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
+ (FMLiveSwitchH264Depacketizer*) depacketizerWithInput: | (NSObject< FMLiveSwitchIVideoOutput > *) | input |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
input | The input. |
+ (FMLiveSwitchH264Depacketizer*) depacketizerWithPacketizationMode: | (int) | packetizationMode |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
packetizationMode | The packetization mode. |
+ (FMLiveSwitchH264Depacketizer*) depacketizerWithProfile: | (NSString *) | profile | |
level: | (NSString *) | level | |
packetizationMode: | (int) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
profile | The profile. |
level | The level. |
packetizationMode | The packetization mode. |
+ (FMLiveSwitchH264Depacketizer*) depacketizerWithProfileLevelId: | (FMLiveSwitchH264ProfileLevelId *) | profileLevelId | |
packetizationMode: | (int) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
profileLevelId | The profile level ID. |
packetizationMode | The packetization mode. |
- (FMLiveSwitchH264Fragment*) doCreateFragmentWithHeader: | (FMLiveSwitchRtpPacketHeader *) | header | |
dataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer | |
Creates a fragment from a data buffer.
header | The rtp header for this packet. |
dataBuffer | The data buffer. |
Implements FMLiveSwitchVideoDepacketizer.
- (void) doDestroy |
Destroys this instance.
Implements FMLiveSwitchVideoDepacketizer.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
- (instancetype) initWithInput: | (NSObject< FMLiveSwitchIVideoOutput > *) | input |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
input | The input. |
Implements FMLiveSwitchVideoDepacketizer.
- (instancetype) initWithPacketizationMode: | (int) | packetizationMode |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
packetizationMode | The packetization mode. |
- (instancetype) initWithProfile: | (NSString *) | profile | |
level: | (NSString *) | level | |
packetizationMode: | (int) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
profile | The profile. |
level | The level. |
packetizationMode | The packetization mode. |
- (instancetype) initWithProfileLevelId: | (FMLiveSwitchH264ProfileLevelId *) | profileLevelId | |
packetizationMode: | (int) | packetizationMode | |
Initializes a new instance of the FMLiveSwitchH264Depacketizer class.
profileLevelId | The profile level ID. |
packetizationMode | The packetization mode. |
- (bool) isKeyFrameWithInputBuffer: | (FMLiveSwitchDataBuffer *) | inputBuffer |
Checks if the databuffer contains a keyframe.
inputBuffer | VideoBuffer containing video data. |
Implements FMLiveSwitchVideoDepacketizer.
- (NSString*) label |
Gets a label that identifies this class.
- (int) packetizationMode |
Gets the packetization mode.
- (void) raiseFrame: | (FMLiveSwitchVideoFrame *) | frame |
Raises a frame.
frame | The frame. |