SiprixVideoRenderer class

SiprixVideoRenderer - holds texture, created by native plugins, and listening video frame events raised by native plugins

Inheritance

Constructors

SiprixVideoRenderer()

Properties

aspectRatio → double
AspectRatio of the received video frame
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
hasTexture → bool
Is created texture
no setter
onResize ↔ dynamic Function(RTCVideoValue v, int callId)?
Frame resize handler
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
srcCallId → int
Call id which displays video on this texture
no setter
textureId → int
TextureId created for rendering
no setter
value ↔ RTCVideoValue
The current value stored in this notifier.
getter/setter pairinherited
videoHeight → int
Height of the received video frame
no setter
videoWidth → int
Width of the received video frame
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → Future<void>
Discards any resources used by the object.
override
errorListener(Object obj) → void
Handle video frame errors
eventListener(dynamic event) → void
Handle video frame changes
init(int srcCallId, [ILogsModel? logs]) → Future<void>
Create texture id rendering video of the specifed call
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
setSourceCall(int callId) → void
Use created texture for rendering video of specified call
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

kInvalidCallId → const int
Invalid call id constant
kInvalidTextureId → const int
Invalid texture id constant