WebRTCPlayer class

A WebRTC player, using flutter_webrtc

Constructors

WebRTCPlayer()

Properties

hashCode int
The hash code for this object.
read-only, inherited
onRemoteStream AddStreamCallback
When got a remote stream.
write-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Dispose the player.
initState() → void
Initialize the player.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
play(String url) Future<void>
Start play a url. url must a path parsed by WebRTCUri.parse in https://github.com/rtcdn/rtcdn-draft
toString() String
A string representation of this object.
inherited

Operators

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