onCustomStreamSubscribed property

dynamic Function(String userId, String tag, RCRTCMediaType type, int code, String? errMsg)? onCustomStreamSubscribed
getter/setter pair

ZH

订阅远端用户发布的自定义资源操作回调 @param userId 用户id @param tag 自定义流标签 @param code 错误码 @param errMsg 错误信息

EN

Subscribe to custom resource callbacks from remote users @param userId User ID @param tag Custom stream tag @param code Error code @param errMsg Error message

Implementation

Function(
  String userId,
  String tag,
  RCRTCMediaType type,
  int code,
  String? errMsg,
)?
onCustomStreamSubscribed;