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,
  9. int? adaptiveSwitch,
  10. List<int>? adaptiveTemplateIDList,
  11. ZegoCustomPlayerResourceConfig? customResourceConfig}
)

Implementation

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