AgoraChannelData constructor

AgoraChannelData({
  1. ChannelProfileType channelProfileType = ChannelProfileType.channelProfileCommunication,
  2. ClientRoleType clientRoleType = ClientRoleType.clientRoleBroadcaster,
  3. VideoEncoderConfiguration? videoEncoderConfiguration,
  4. bool setCameraAutoFocusFaceModeEnabled = false,
  5. bool enableDualStreamMode = false,
  6. StreamFallbackOptions? localPublishFallbackOption,
  7. StreamFallbackOptions? remoteSubscribeFallbackOption,
  8. AudioProfileType audioProfileType = AudioProfileType.audioProfileDefault,
  9. AudioScenarioType audioScenarioType = AudioScenarioType.audioScenarioDefault,
  10. BeautyOptions? setBeautyEffectOptions,
  11. bool setCameraTorchOn = false,
  12. bool muteAllRemoteAudioStreams = false,
  13. bool muteAllRemoteVideoStreams = false,
  14. bool isActiveSpeakerDisabled = false,
})

Implementation

AgoraChannelData({
  this.channelProfileType = ChannelProfileType.channelProfileCommunication,
  this.clientRoleType = ClientRoleType.clientRoleBroadcaster,
  this.videoEncoderConfiguration,
  this.setCameraAutoFocusFaceModeEnabled = false,
  this.enableDualStreamMode = false,
  this.localPublishFallbackOption,
  this.remoteSubscribeFallbackOption,
  this.audioProfileType = AudioProfileType.audioProfileDefault,
  this.audioScenarioType = AudioScenarioType.audioScenarioDefault,
  this.setBeautyEffectOptions,
  this.setCameraTorchOn = false,
  this.muteAllRemoteAudioStreams = false,
  this.muteAllRemoteVideoStreams = false,
  this.isActiveSpeakerDisabled = false,
});