LinkVVideoCallback class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
onAddRemoter(
String userId) → void - 有成员加入的通知 @param userId 用户ID
-
onDeleteRemoter(
String uid) → void - 有成员离开的通知 @param uid 离开用户 ID
-
onPlayQualityUpdate(
LVVideoStatistic lvVideoStatistic, String uid) → void - 播放质量变化的通知,SDK 内部会定时统计拉流质量信息,APP 可以实现该方法获取拉流的视频质量信息统计,回调的频率可以通过 +setPlayQualityMonitorCycle 进行设置 @param lvVideoStatistic 质量信息 @param uid 用户 ID
-
onPlayStateUpdate(
int code, String uid) → void - 播放状态变化的通知,调用 startPlayingStream: 方法之后,播放状态的变更会通过该方法进行通知 @param code 状态码 @param uid 用户 ID
-
onPublishQualityUpdate(
LVVideoStatistic lvVideoStatistic) → void - 发布资源质量状态变化的通知,SDK 内部会定时统计推流的质量信息,APP 可以实现该方法获取推流的视频质量信息统计,回调的频率可以通过 +setPublishQualityMonitorCycle 进行设置 @param lvVideoStatistic 质量信息
-
onPublishStateUpdate(
int code) → void - 发布资源状态变更的通知,调用 startPublishing 之后会触发该方法回调,发布资源状态的变更会通过该方法进行通知 @param code 状态码
-
onRoomConnected(
) → void - 房间连接成功
-
onRoomDisconnect(
int code) → void - 房间断开的通知 @param code 错误码
-
onRoomMessageReceive(
dynamic msg) → void - 收到房间消息 @param msg 收到的消息模型
-
onRoomReconnect(
) → void - 房间重连成功通知,SDK 在网络断开和恢复时会自动进行重连,重连结果通过该回调通知 APP
-
onUserEnableVideo(
String userId, bool enable) → void - 房间某用户开启或关闭摄像头 @param userId 用户的ID @param enable 是否开启摄像头
-
onVideoSizeChanged(
String streamID, int width, int height) → void - 视频宽高变化
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited