RTCViewContext class

Used for initialize RTCSurfaceView

Constructors

RTCViewContext.echoTestContext()
Sets the canvas for rendering pre-call echo test video streams.
RTCViewContext.localContext({required String uid, StreamIndex streamType = StreamIndex.main})
Sets the canvas for rendering local video.
RTCViewContext.publicStreamContext(String publicStreamId)
Sets the canvas for rendering public video streams.
RTCViewContext.remoteContext({required String roomId, required String uid, StreamIndex streamType = StreamIndex.main})
Sets the canvas for rendering remote video.

Properties

canvasType VideoCanvasType
Video canvas type
final
hashCode int
The hash code for this object.
no setterinherited
roomId String
ID of the room where the publisher of the stream to be rendered is in.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamType StreamIndex
Stream type.
final
uid String
ID of the publisher of the stream to be rendered.
final

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