FMIceLinkVideoEncoder Class Reference
Inherits from | FMIceLinkVideoPipe : FMIceLinkMediaPipe : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
---|---|
Declared in | FMIceLinkVideoEncoder.h FMIceLinkVideoEncoder.m |
– doProcessControlFrames:
Processes the control frames.
- (void)doProcessControlFrames:(NSMutableArray *)controlFrames
Parameters
controlFrames |
The control frames. |
---|
Discussion
Processes the control frames.
Declared In
FMIceLinkVideoEncoder.h
– doProcessSdpMediaDescription:isOffer:isLocalDescription:
Processes a 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 a SDP media description.
Declared In
FMIceLinkVideoEncoder.h
– doProcessStatsFromOutputWithStats:
Processes stats from an output.
- (void)doProcessStatsFromOutputWithStats:(FMIceLinkMediaTrackStats *)stats
Parameters
stats |
The stats. |
---|
Discussion
Processes stats from an output.
Declared In
FMIceLinkVideoEncoder.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
FMIceLinkVideoEncoder.h
– frameHeight
Gets the last frame height.
- (int)frameHeight
Discussion
Gets the last frame height.
Declared In
FMIceLinkVideoEncoder.h
– frameRate
Gets the average frame rate.
- (int)frameRate
Discussion
Gets the average frame rate.
Declared In
FMIceLinkVideoEncoder.h
– framesEncoded
Gets the number of encoded frames.
- (long long)framesEncoded
Discussion
Gets the number of encoded frames.
Declared In
FMIceLinkVideoEncoder.h
– frameWidth
Gets the last frame width.
- (int)frameWidth
Discussion
Gets the last frame width.
Declared In
FMIceLinkVideoEncoder.h
– initWithInputFormat:outputFormat:
Initializes a new instance of the FMIceLinkVideoEncoder class.
- (instancetype)initWithInputFormat:(FMIceLinkVideoFormat *)inputFormat outputFormat:(FMIceLinkVideoFormat *)outputFormat
Parameters
inputFormat |
The input format. |
---|---|
outputFormat |
The output format. |
Discussion
Initializes a new instance of the FMIceLinkVideoEncoder class.
Declared In
FMIceLinkVideoEncoder.h
– maxInputBitrate
Gets -1.
- (int)maxInputBitrate
Discussion
Gets -1.
Declared In
FMIceLinkVideoEncoder.h
– processFrame:
Processes the frame.
- (bool)processFrame:(FMIceLinkVideoFrame *)frame
Parameters
frame |
The frame. @return |
---|
Discussion
Processes the frame.
Declared In
FMIceLinkVideoEncoder.h
– raiseFrame:
Raises the frame.
- (void)raiseFrame:(FMIceLinkVideoFrame *)frame
Parameters
frame |
The frame. |
---|
Discussion
Raises the frame.
Declared In
FMIceLinkVideoEncoder.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
FMIceLinkVideoEncoder.h
+ videoEncoderWithInputFormat:outputFormat:
Initializes a new instance of the FMIceLinkVideoEncoder class.
+ (FMIceLinkVideoEncoder *)videoEncoderWithInputFormat:(FMIceLinkVideoFormat *)inputFormat outputFormat:(FMIceLinkVideoFormat *)outputFormat
Parameters
inputFormat |
The input format. |
---|---|
outputFormat |
The output format. |
Discussion
Initializes a new instance of the FMIceLinkVideoEncoder class.
Declared In
FMIceLinkVideoEncoder.h