CameraViewOptions constructor

CameraViewOptions({
  1. required String accessToken,
  2. required String deviceId,
  3. required int channelId,
  4. required String psk,
  5. required String playToken,
  6. required int bateMode,
  7. int width = 400,
  8. int height = 300,
  9. required bool isOpt,
  10. required bool isOpenAudio,
  11. required int imageSize,
})

Implementation

CameraViewOptions(
    {required this.accessToken,
    required this.deviceId,
    required this.channelId,
    required this.psk,
    required this.playToken,
    required this.bateMode,
    this.width = 400,
    this.height = 300,
    required this.isOpt,
    required this.isOpenAudio,
    required this.imageSize});