ZegoPlayerConfig constructor

ZegoPlayerConfig(
  1. ZegoStreamResourceMode resourceMode,
  2. {ZegoCDNConfig? cdnConfig,
  3. String? roomID,
  4. ZegoVideoCodecID? videoCodecID,
  5. ZegoResourceType? sourceResourceType,
  6. int? codecTemplateID,
  7. ZegoStreamResourceSwitchMode? resourceSwitchMode,
  8. ZegoStreamResourceType? resourceWhenStopPublish}
)

Implementation

ZegoPlayerConfig(this.resourceMode,
    {this.cdnConfig,
    this.roomID,
    this.videoCodecID,
    this.sourceResourceType,
    this.codecTemplateID,
    this.resourceSwitchMode,
    this.resourceWhenStopPublish});