ZegoMediaPlayerResource
ZegoMediaPlayerResource
Multimedia resource for ZEGO media player.
Details
Used to configure loading parameters when loading multimedia resources.
Declared in ZegoExpressDefines.h
Properties
loadType
nonatomic, assign ZegoMultimediaLoadType loadTypeUsed to specify the loading type of multimedia resources.
startPosition
nonatomic, assign long startPositionThe progress at which the plaback started.
alphaLayout
nonatomic, assign ZegoAlphaLayoutType alphaLayoutIf the specified resource has a transparent effect, you need to specify the layout position of the alpha data.
filePath
nonatomic, copy NSString * filePathCommon 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
nonatomic, strong, nullable NSData * memorybinary data memory.
memoryLength
nonatomic, assign int memoryLengthBinary data memory length.
resourceID
nonatomic, copy NSString * resourceIDThe resource ID obtained from the copyrighted music module.
onlineResourceCachePath
nonatomic, copy NSString * onlineResourceCachePathOnline resource cache path, in utf8 encoding format.
maxCachePendingLength
nonatomic, assign long long maxCachePendingLengthThe 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.
