VeLivePlayerObserver class

Constructors

VeLivePlayerObserver({void onError(VeLivePlayerError error)?, void onFirstVideoFrameRender(bool isFirstFrame)?, void onFirstAudioFrameRender(bool isFirstFrame)?, void onResolutionSwitch(VeLivePlayerResolution resolution, VeLivePlayerError? error, VeLivePlayerResolutionSwitchReason reason)?, void onStallStart()?, void onStallEnd()?, void onVideoSizeChanged(int width, int height)?, void onVideoRenderStall(int stallTime)?, void onAudioRenderStall(int stallTime)?, void onPlayerStatusUpdate(VeLivePlayerStatus status)?, void onStatistics(VeLivePlayerStatistics statistics)?, void onReceiveSeiMessage(String message)?, void onMainBackupSwitch(VeLivePlayerStreamType streamType, VeLivePlayerError? error)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAudioRenderStall ↔ void Function(int stallTime)?
getter/setter pair
onError ↔ void Function(VeLivePlayerError error)?
getter/setter pair
onFirstAudioFrameRender ↔ void Function(bool isFirstFrame)?
getter/setter pair
onFirstVideoFrameRender ↔ void Function(bool isFirstFrame)?
getter/setter pair
onMainBackupSwitch ↔ void Function(VeLivePlayerStreamType streamType, VeLivePlayerError? error)?
getter/setter pair
onPlayerStatusUpdate ↔ void Function(VeLivePlayerStatus status)?
getter/setter pair
onReceiveSeiMessage ↔ void Function(String message)?
getter/setter pair
onResolutionSwitch ↔ void Function(VeLivePlayerResolution resolution, VeLivePlayerError? error, VeLivePlayerResolutionSwitchReason reason)?
getter/setter pair
onStallEnd ↔ void Function()?
getter/setter pair
onStallStart ↔ void Function()?
getter/setter pair
onStatistics ↔ void Function(VeLivePlayerStatistics statistics)?
getter/setter pair
onVideoRenderStall ↔ void Function(int stallTime)?
getter/setter pair
onVideoSizeChanged ↔ void Function(int width, int height)?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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