FMIceLinkMatroskaVideoRecorder Class Reference

Inherits from FMIceLinkVideoRecorder : FMIceLinkMediaRecorder : NSObject
Declared in FMIceLinkMatroskaVideoRecorder.h
FMIceLinkMatroskaVideoRecorder.m

Overview

A Matroska video recorder.

– doUpdateHeader

Updates the file header.
- (void)doUpdateHeader

Discussion

Updates the file header.

Declared In

FMIceLinkMatroskaVideoRecorder.h

– doWriteHeader

Writes the file header.
- (void)doWriteHeader

Discussion

Writes the file header.

Declared In

FMIceLinkMatroskaVideoRecorder.h

– doWriteWithBuffer:presentationTimestamp:

Write an encoded video frame.
- (bool)doWriteWithBuffer:(FMIceLinkVideoBuffer *)buffer presentationTimestamp:(long long)presentationTimestamp

Parameters

buffer

The encoded buffer.

presentationTimestamp

The presentation timestamp.

Return Value

true if the encoded frame was written successfully; otherwise, false

Discussion

Write an encoded video frame.

Declared In

FMIceLinkMatroskaVideoRecorder.h

– initWithPath:inputFormat:

Initializes a new instance of the FMIceLinkMatroskaVideoRecorder class.
- (instancetype)initWithPath:(NSString *)path inputFormat:(FMIceLinkVideoFormat *)inputFormat

Parameters

path

The path.

inputFormat

The input format.

Discussion

Initializes a new instance of the FMIceLinkMatroskaVideoRecorder class.

Declared In

FMIceLinkMatroskaVideoRecorder.h

+ videoRecorderWithPath:inputFormat:

Initializes a new instance of the FMIceLinkMatroskaVideoRecorder class.
+ (FMIceLinkMatroskaVideoRecorder *)videoRecorderWithPath:(NSString *)path inputFormat:(FMIceLinkVideoFormat *)inputFormat

Parameters

path

The path.

inputFormat

The input format.

Discussion

Initializes a new instance of the FMIceLinkMatroskaVideoRecorder class.

Declared In

FMIceLinkMatroskaVideoRecorder.h