FMIceLinkCocoaVideoToolboxH264Encoder Class Reference

Inherits from FMIceLinkVideoEncoder : FMIceLinkVideoPipe : FMIceLinkMediaPipe : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Declared in FMIceLinkCocoaVideoToolboxH264Encoder.h
FMIceLinkCocoaVideoToolboxH264Encoder.m

– bitrate

Gets the target output bitrate.

The bitrate.

- (int)bitrate

Discussion

Gets the target output bitrate.

The bitrate.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– setBitrate:

Sets the target output [bitrate](#//api/name/bitrate).

The bitrate.

- (void)setBitrate:(int)value

Discussion

Sets the target output [bitrate](#//api/name/bitrate).

The bitrate.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– quality

Gets the target output quality.

The quality.

- (double)quality

Discussion

Gets the target output quality.

The quality.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– setQuality:

Sets the target output [quality](#//api/name/quality).

The quality.

- (void)setQuality:(double)value

Discussion

Sets the target output [quality](#//api/name/quality).

The quality.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– maxPayloadSize

Gets the max payload size.

The max payload size.

- (int)maxPayloadSize

Discussion

Gets the max payload size.

The max payload size.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– setMaxPayloadSize:

Sets the max payload size.

The max payload size.

- (void)setMaxPayloadSize:(int)value

Discussion

Sets the max payload size.

The max payload size.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– init

- (instancetype)init

Declared In

FMIceLinkSerializable.h

+ videoToolboxH264EncoderWithInput:

Initializes a new instance of the FMIceLinkOpenH264Encoder class.
+ (instancetype)videoToolboxH264EncoderWithInput:(NSObject<FMIceLinkIVideoOutput> *)input

Parameters

input

The input.

Discussion

Initializes a new instance of the FMIceLinkOpenH264Encoder class.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– destroy

Destroys this instance.
- (bool)destroy

Discussion

Destroys this instance.

Declared In

FMIceLinkMediaPipe.h

– doDestroy

Destroys this instance.
- (void)doDestroy

Discussion

Destroys this instance.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– doProcessFrame:inputBuffer:

Processes a frame.
- (void)doProcessFrame:(FMIceLinkVideoFrame *)frame inputBuffer:(FMIceLinkVideoBuffer *)inputBuffer

Parameters

frame

The frame.

inputBuffer

The input buffer.

outputFormat

The output format.

Discussion

Processes a frame.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– forceKeyFrame

Gets a value indicating whether a keyframe should be forced.
- (bool)forceKeyFrame

Discussion

Gets a value indicating whether a keyframe should be forced.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– label

Gets a label that identifies this class.
- (NSString *)label

Discussion

Gets a label that identifies this class.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– setForceKeyFrame:

Sets a value indicating whether a keyframe should be forced.
- (void)setForceKeyFrame:(bool)value

Discussion

Sets a value indicating whether a keyframe should be forced.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– doProcessSdpMediaDescription:isOffer:isLocalDescription:

Processes an SDP media description.
- (FMIceLinkError *)doProcessSdpMediaDescription:(FMIceLinkSdpMediaDescription *)mediaDescription isOffer:(bool)isOffer isLocalDescription:(bool)isLocalDescription

Parameters

mediaDescription

The media description.

isOffer

if set to true [is offer].

isLocalDescription

if set to true [is local description].

Discussion

Processes an SDP media description.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– doProcessControlFrames:

Processes the control frames.
- (void)doProcessControlFrames:(NSMutableArray *)controlFrames

Parameters

controlFrames

The control frames.

Discussion

Processes the control frames.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– profileLevelId

Gets the profile level identifier.

The profile level identifier.

- (FMIceLinkH264ProfileLevelId *)profileLevelId

Discussion

Gets the profile level identifier.

The profile level identifier.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h

– supportedProfileIdcs

Gets the supported profile idcs. Currently, only baseline is supported.

The supported profile idcs.

- (NSMutableArray *)supportedProfileIdcs

Discussion

Gets the supported profile idcs. Currently, only baseline is supported.

The supported profile idcs.

Declared In

FMIceLinkCocoaVideoToolboxH264Encoder.h