roomOption static method
Room
roomOption()
Implementation
static Room roomOption() {
return Room(
roomOptions: RoomOptions(
adaptiveStream: true,
dynacast: true,
// defaultAudioPublishOptions: AudioPublishOptions(name: 'custom_audio_track_name'),
// defaultCameraCaptureOptions: CameraCaptureOptions(maxFrameRate: 30, params: VideoParameters(dimensions: VideoDimensions(1280, 720))),
// defaultScreenShareCaptureOptions: ScreenShareCaptureOptions(useiOSBroadcastExtension: true, params: VideoParameters(dimensions: VideoDimensionsPresets.h1080_169)),
// defaultVideoPublishOptions: VideoPublishOptions(simulcast: true, videoCodec: 'VP8', backupVideoCodec: BackupVideoCodec(enabled: true))
),
);
}