Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
const char * | url |
const char * | uri |
int64_t | startPos |
bool | autoPlay |
bool | enableCache |
Optional< bool > | isAgoraSource |
Optional< bool > | isLiveSource |
IMediaPlayerCustomDataProvider * | provider |
|
inline |
const char* url |
The URL of the media file that you want to play.
const char* uri |
The URI of the media file
When caching is enabled, if the url cannot distinguish the cache file name, the uri must be able to ensure that the cache file name corresponding to the url is unique.
int64_t startPos |
Set the starting position for playback, in ms.
bool autoPlay |
Autoplay when media source is opened
bool enableCache |
Enable caching.
Optional<bool> isAgoraSource |
if the value is true, it means playing agora URL. The default value is false
Optional<bool> isLiveSource |
If it is set to true, it means that the live stream will be optimized for quick start. The default value is false
IMediaPlayerCustomDataProvider* provider |
External custom data source object