subscribeStreamingWithViewId method

Future<void> subscribeStreamingWithViewId(
  1. int videoviewidx,
  2. int userId
)

订阅用户

Implementation

Future<void> subscribeStreamingWithViewId(int videoviewidx, int userId) {
  return bRTCPluginChannel.invokeMethod('subscribeStreamingWithViewId', {
    "viewId": videoviewidx,
    "userId": userId,
  });
}