channel property

ZegoPublishChannel get channel

Implementation

ZegoPublishChannel get channel {
  switch (this) {
    case ZegoStreamType.main:
      return ZegoPublishChannel.Main;
    case ZegoStreamType.media:
    case ZegoStreamType.screenSharing:
    case ZegoStreamType.mix:
      return ZegoPublishChannel.Aux;
  }
}