ZegoMediaPlayerResource.defaultConfig constructor

ZegoMediaPlayerResource.defaultConfig()

Constructs a media player resource object by default.

Implementation

ZegoMediaPlayerResource.defaultConfig()
    : loadType = ZegoMultimediaLoadType.FilePath,
      startPosition = 0,
      alphaLayout = ZegoAlphaLayoutType.None,
      filePath = '',
      memory = Uint8List.fromList([]),
      resourceID = '';