RtcChannelConfig constructor

RtcChannelConfig({
  1. ChannelMode? mode = ChannelMode.OneOnOne,
  2. Set<ChannelService?>? serviceFlags = const {ChannelService.Media, ChannelService.Whiteboard, ChannelService.Message},
  3. bool? subscribeAudioAll = true,
  4. String? userName,
})

Constructs a RtcChannelConfig

Implementation

RtcChannelConfig(
    {this.mode = ChannelMode.OneOnOne,
    this.serviceFlags = const {
      ChannelService.Media,
      ChannelService.Whiteboard,
      ChannelService.Message
    },
    this.subscribeAudioAll = true,
    this.userName});