onRemoteCustomStreamStateChanged property

dynamic Function(String roomId, String userId, String tag, RCRTCMediaType type, bool disabled)? onRemoteCustomStreamStateChanged
getter/setter pair

ZH

远端用户自定义资源状态操作回调 @param roomId 房间id @param userId 用户id @param tag 自定义流标签 @param disabled 是否禁用

EN

Callback for remote user's custom resource status @param roomId Room ID @param userId User ID @param tag Custom stream tag @param disabled Disable status

Implementation

Function(
  String roomId,
  String userId,
  String tag,
  RCRTCMediaType type,
  bool disabled,
)?
onRemoteCustomStreamStateChanged;