RtmpPlayerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • RtmpPlayerPlatform
Implementers

Constructors

RtmpPlayerPlatform()

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

getCurrentPosition() Future
获取播放的当前时长
getDuration() Future
获取视频的总时长
getPlatformVersion() Future<String?>
isPlaying() Future
是否播放中
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future
暂停播放
play() Future
播放
seekTo(int msec) Future
指定开始播放时间
setDataSource(String playUrl, bool isLoop) Future
设置播放路径,默认会初始化成功后播放
setLoop(bool isLoop) Future
设置是否循环播放
stop() Future
停止播放
toString() String
A string representation of this object.
inherited

Operators

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