ZegoPlayerConfig constructor
ZegoPlayerConfig(- ZegoStreamResourceMode resourceMode,
- {ZegoCDNConfig? cdnConfig,
- String? roomID,
- ZegoVideoCodecID? videoCodecID,
- ZegoResourceType? sourceResourceType,
- int? codecTemplateID,
- ZegoStreamResourceSwitchMode? resourceSwitchMode,
- ZegoStreamResourceType? resourceWhenStopPublish,
- int? adaptiveSwitch,
- List<int>? adaptiveTemplateIDList,
- 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});