RTCViewContext class

用于 RTCSurfaceView 初始化

Constructors

RTCViewContext.echoTestContext()
设置渲染通话前回路测试视频流的画布
RTCViewContext.localContext({required String uid, StreamIndex streamType = StreamIndex.main})
设置渲染本地视频的画布
RTCViewContext.publicStreamContext(String publicStreamId)
设置渲染公共视频流的画布
RTCViewContext.remoteContext({required String roomId, required String uid, StreamIndex streamType = StreamIndex.main})
设置渲染远端视频的画布

Properties

canvasType VideoCanvasType
画布类型
final
hashCode int
The hash code for this object.
no setterinherited
roomId String
需要被渲染的用户所在的房间 ID
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamType StreamIndex
流属性,包括主流和屏幕共享流
final
uid String
需要被渲染的用户的 ID
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