unsubscribeAllStreams abstract method

Future<int?> unsubscribeAllStreams(
  1. MediaStreamType type
)

Unsubscribes from all remote media streams captured by camera/microphone.

You can call this API to unsubscribe from streams that are subscribed to either automatically or manually.

type: Media stream type, used for specifying whether to unsubscribe from the audio stream or the video stream.

Notes:

Implementation

Future<int?> unsubscribeAllStreams(MediaStreamType type);