onVideoSubscribeStateChanged property
void Function(String channel, int uid, StreamSubscribeState oldState, StreamSubscribeState newState, int elapseSinceLastState)?
onVideoSubscribeStateChanged
final
视频订阅状态发生改变回调。
channel频道名。uid远端用户的 ID。oldState之前的订阅状态,详见 StreamSubscribeState 。newState当前的订阅状态,详见 StreamSubscribeState 。elapseSinceLastState两次状态变化时间间隔(毫秒)。
Implementation
final void Function(
String channel,
int uid,
StreamSubscribeState oldState,
StreamSubscribeState newState,
int elapseSinceLastState)? onVideoSubscribeStateChanged;