TRTCLocalRecordingParams class

Recording parameters

Constructors

TRTCLocalRecordingParams({required String filePath, required int recordType, int interval = -1, int maxDurationPerFile = 0})

Properties

filePath String
Field description: address of the recording file, which is required. Please ensure that the path is valid with read/write permissions; otherwise, the recording file cannot be generated.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interval int
Field description: interval is the update frequency of the recording information in milliseconds. Value range: 100010000. Default value: -1, indicating not to call back
getter/setter pair
maxDurationPerFile int
Field description: The recording file segmentation duration, in milliseconds, with a minimum value of 10000. The default value is 0, which means no fragmentation.
getter/setter pair
recordType int
Field description: media recording type, which is TRTCRecordTypeBoth by default, indicating to record both audio and video.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert the current object to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited