ZegoPlayerConfig.defaultConfig constructor

ZegoPlayerConfig.defaultConfig()

Create a default advanced player config object

Implementation

ZegoPlayerConfig.defaultConfig()
    : resourceMode = ZegoStreamResourceMode.Default,
      videoCodecID = ZegoVideoCodecID.Unknown,
      sourceResourceType = ZegoResourceType.RTC,
      codecTemplateID = 0,
      resourceSwitchMode = ZegoStreamResourceSwitchMode.Default,
      resourceWhenStopPublish = ZegoStreamResourceType.Default,
      adaptiveSwitch = 0;