stopRemoteView method

Future<void> stopRemoteView(
  1. String userId,
  2. int streamType
)

Stop subscribing to remote user's video stream and release rendering control

Video stream type of the userId specified for stopping watching:

Parameters:

userId User ID

streamType:

Platform not supported:

  • macOS

Implementation

Future<void> stopRemoteView(String userId, int streamType) {
  return _cloudChannel!.invokeMethod(
      'stopRemoteView', {"userId": userId, "streamType": streamType});
}