ZegoMediaDataPublisher class abstract

Constructors

ZegoMediaDataPublisher()

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addMediaFilePath(String path, bool isClear) → Future<void>
添加媒体文件到推流队列中。目前仅支持 mp4 / m4a / aac 文件,且需要做特殊转换。
getCurrentDuration() → Future<int>
获取当前文件的播放进度。
getIndex() → int
获取媒体推流器的推流通道号。
getTotalDuration() → Future<int>
获取当前文件的总时长。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → Future<void>
清除此媒体推流器中的所有状态,以便下次推流时重新开始。
seekTo(int millisecond) → Future<void>
指定当前视频文件推流发送的时间起始点。
setVideoSendDelayTime(int delayTime) → Future<void>
设置推迟视频播放时间。
toString() → String
A string representation of this object.
inherited

Operators

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