RtcMediaPlayer class

Constructors

RtcMediaPlayer()

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

adjustPlayoutVolume(int vol) Future<void>
destroy() Future<void>
getDuration() Future<int?>
getPlayoutVolume() Future<int?>
getPlayPosition() Future<int?>
getState() Future<int?>
getStreamByIndex() Future<int?>
getStreamCount() Future<int?>
isMuted() Future<bool?>
mute(bool mute) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String url, int startPos) Future<void>
pause() Future<void>
play() Future<void>
registerPlayerObserver(RtcMediaPlayerEventHandler handler) → void
seek(int pos) Future<void>
setRenderMode(VideoRenderMode mode) Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create() Future<RtcMediaPlayer?>