StreamingLayout.defaultLayout constructor

  1. @FreezedUnionValue('default')
const StreamingLayout.defaultLayout({
  1. int? maxCamStreams,
})

The default grid layout, which renders participants in a grid (or, in a vertical grid to the right, if a screen share is enabled).

Implementation

@FreezedUnionValue('default')
const factory StreamingLayout.defaultLayout({
  /// Specifies how many cameras to include in the grid.
  ///
  /// Default: 20, which is also the maximum number of cameras in a grid. This maximum may be increased in the future.
  int? maxCamStreams,
}) = _DefaultLayout;