enableDualStreamMode method Null safety

Future<void> enableDualStreamMode(
  1. bool enabled

Enables/Disables the dual video stream mode.

If dual-stream mode is enabled, the receiver can choose to receive the high stream (high-resolution high-bitrate video stream) or low stream (low-resolution low-bitrate video stream) video.

Parameter enabled Sets the stream mode:

  • true: Dual-stream mode.
  • false: (Default) Single-stream mode.


Future<void> enableDualStreamMode(bool enabled) {
  return _invokeMethod('enableDualStreamMode', {
    'enabled': enabled,