pause method

Future<void> pause()

Stops receiving this stream from a remote participant — to save bandwidth while its tile is off screen, for example. resume starts it again.

Completes when the native SDK answers; throws a VideoSDKError if it refuses.

Example

await stream.pause();

Implementation

Future<void> pause() => _pause();