ZegoMediaDataPublisher class abstract

Constructors

ZegoMediaDataPublisher()

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

addMediaFilePath(String path, bool isClear) Future<void>
Add media file to the publish queue. Currently, only mp4 / m4a / aac files are supported, and special conversion is required.
getCurrentDuration() Future<int>
Get the playing progress of the current file.
getIndex() int
Get the channel index of the media data publisher.
getTotalDuration() Future<int>
Get the total duration of the current file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() Future<void>
Clear all the status in this media data publisher, so that it can be restarted next time.
seekTo(int millisecond) Future<void>
Specify the starting point of the current video file publishing.
setVideoSendDelayTime(int delayTime) Future<void>
Set the delay time of video playback.
toString() String
A string representation of this object.
inherited

Operators

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