NativeVideoController class abstract

Constructors

NativeVideoController()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

outputFileName String
File name
getter/setter pair

Static Methods

clearCache() Future<void>
Clear cache
compressVideo({required String inputPath, int bitrate = 2000000, int? width, int? height, VideoSetting videoSetting = VideoSetting.h264, AudioSetting audioSetting = AudioSetting.aac, int audioBitrate = 128000, int audioSampleRate = 44100, int audioChannels = 2, bool printingInfo = false}) Future<String?>
Compress video
printVideoInfo(String path) Future<void>
Print video size and resolution