logo
On this page

ZegoMediaPlayerResource

ZegoMediaPlayerResource

Multimedia resource for ZEGO media player.

Details

Used to configure loading parameters when loading multimedia resources.

Declared in ZegoExpressDefines.h

Properties

loadType

loadType
nonatomic, assign ZegoMultimediaLoadType loadType

Used to specify the loading type of multimedia resources.

startPosition

startPosition
nonatomic, assign long startPosition

The progress at which the plaback started.

alphaLayout

alphaLayout
nonatomic, assign ZegoAlphaLayoutType alphaLayout

If the specified resource has a transparent effect, you need to specify the layout position of the alpha data.

filePath

filePath
nonatomic, copy NSString * filePath

Common resource path.The absolute resource path or the URL of the network resource and cannot be nil or "". Android can set this path string with Uri.

memory

memory
nonatomic, strong, nullable NSData * memory

binary data memory.

memoryLength

memoryLength
nonatomic, assign int memoryLength

Binary data memory length.

resourceID

resourceID
nonatomic, copy NSString * resourceID

The resource ID obtained from the copyrighted music module.

onlineResourceCachePath

onlineResourceCachePath
nonatomic, copy NSString * onlineResourceCachePath

Online resource cache path, in utf8 encoding format.

maxCachePendingLength

maxCachePendingLength
nonatomic, assign long long maxCachePendingLength

The maximum length of online resource cache to be used, in bytes, with a minimum setting of 500K (500 * 1024). The default value is 0 - no limit, and try to cache the entire file.

Previous

zegomediaplayermediainfo

Next

zegomediaplayerstatisticsinfo

On this page

Back to top