Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Properties | |
NSString *_Nullable | url |
NSString *_Nullable | uri |
NSUInteger | startPos |
BOOL | enableCache |
BOOL | autoPlay |
AgoraRtcBoolOptional *_Nullable | isAgoraSource |
AgoraRtcBoolOptional *_Nullable | isLiveSource |
AgoraRtcMediaPlayerCustomSourceOnReadCallback _Nonnull | playerOnReadCallback |
|
readwritenonatomiccopy |
The URL of the media file that you want to play.
|
readwritenonatomiccopy |
The URI of the media file.
|
readwritenonatomicassign |
Set the starting position for playback, in seconds (ms)
|
readwritenonatomicassign |
Make the player to enable cache files.
|
readwritenonatomicassign |
Autoplay when media source is opened
|
readwritenonatomicstrong |
if the value is true, it means playing CDN URL. The default value is false
|
readwritenonatomicstrong |
If the value is true, it means to play the real-time stream. The default value is false
|
readwritenonatomiccopy |
External custom data source callback
|
readwritenonatomiccopy |