RoomOptions constructor

const RoomOptions(
  1. {CameraCaptureOptions defaultCameraCaptureOptions = const CameraCaptureOptions(),
  2. ScreenShareCaptureOptions defaultScreenShareCaptureOptions = const ScreenShareCaptureOptions(),
  3. AudioCaptureOptions defaultAudioCaptureOptions = const AudioCaptureOptions(),
  4. VideoPublishOptions defaultVideoPublishOptions = const VideoPublishOptions(),
  5. AudioPublishOptions defaultAudioPublishOptions = const AudioPublishOptions(),
  6. AudioOutputOptions defaultAudioOutputOptions = const AudioOutputOptions(),
  7. bool adaptiveStream = false,
  8. bool dynacast = false,
  9. bool stopLocalTrackOnUnpublish = true,
  10. E2EEOptions? e2eeOptions}
)

Implementation

const RoomOptions({
  this.defaultCameraCaptureOptions = const CameraCaptureOptions(),
  this.defaultScreenShareCaptureOptions = const ScreenShareCaptureOptions(),
  this.defaultAudioCaptureOptions = const AudioCaptureOptions(),
  this.defaultVideoPublishOptions = const VideoPublishOptions(),
  this.defaultAudioPublishOptions = const AudioPublishOptions(),
  this.defaultAudioOutputOptions = const AudioOutputOptions(),
  this.adaptiveStream = false,
  this.dynacast = false,
  this.stopLocalTrackOnUnpublish = true,
  this.e2eeOptions,
});