RtcPlayerValue class

远程音视频控制器 音视频通话值更改

Constructors

RtcPlayerValue({int cameraTextureId = kUninitializedTextureId, int remoteTextureId = kUninitializedTextureId, String? userName, String? userId, bool isInitialized = false, String? errorDescription, VideoEventType? connectState})
RtcPlayerValue.erroneous(String erroneous)
初始化失败,异常信息

Properties

cameraTextureId int
Local摄像头纹理ID
final
connectState VideoEventType?
当前音视频通话状态
final
errorDescription String?
错误信息
final
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Indicates whether or not the video has been loaded and is ready to play.
final
remoteTextureId int
远程摄像头纹理ID
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
当前连接的远程用户id
final
userName String?
当前连接的远程用户名称
final

Methods

copyWith({int? cameraTextureId, int? remoteTextureId, String? userName, String? userId, String? errorDescription, bool? isInitialized, VideoEventType? connectState}) RtcPlayerValue
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