![]() |
AliyunPlayer
v5.4.0
Aliyun Player API Reference Manual for iOS Platforms
|
Instance Methods | |
(void) | - prepareWithLiveTimeUrl: |
Send a request to the broadcasting timeshift URL. More... | |
(void) | - seekToLiveTime: |
Seek to a specified position. More... | |
(void) | - setLiveTimeShiftUrl: |
Set a broadcasting timeshift URL. More... | |
(void) | - start |
Start the player. More... | |
(void) | - stop |
Stop the player. More... | |
![]() | |
(void) | - addExtSubtitle: |
Add external subtitles. More... | |
(void) | - destroy |
Delete the player. More... | |
(NSString *) | - getCacheFilePath: |
Query the name of the cached file with the specified URL. More... | |
(NSString *) | - getCacheFilePath:format:definition: |
Query the name of the cached file with the specified URL. More... | |
(NSString *) | - getCacheFilePath:format:definition:previewTime: |
Query the name of the cached file with the specified URL. More... | |
(AVPConfig *) | - getConfig |
Query player configuration. More... | |
(AVPTrackInfo *) | - getCurrentTrack: |
Query the track that is being played. More... | |
(AVPMediaInfo *) | - getMediaInfo |
Query media information, including track information. More... | |
(NSString *) | - getOption: |
Get player information. More... | |
(NSString *) | - getPlayerName |
Get used player name. More... | |
(NSString *) | - getPropertyString: |
Get information by key. More... | |
(void) | - getThumbnail: |
Retrieve the thumbnail image at the specified position. More... | |
(instancetype) | - init |
Initialize the player. More... | |
(instancetype) | - init: |
Initialize the player. More... | |
(int) | - invokeComponent: |
Send command to component. More... | |
(void) | - pause |
Pause. More... | |
(void) | - prepare |
Prepare for playback. More... | |
(void) | - redraw |
Refresh the view in certain situations, for example, when the size of the view changes. More... | |
(void) | - reload |
Reload resources. More... | |
(void) | - reset |
Reset. More... | |
(void) | - seekToTime:seekMode: |
Seek to a specified position. More... | |
(void) | - selectExtSubtitle:enable: |
Select external subtitles. More... | |
(void) | - selectTrack: |
Switch definition according to the specified track index. More... | |
(void) | - selectTrack:accurate: |
Switch definition according to the specified track index. More... | |
(void) | - sendCustomEvent: |
Send custom event, will callback through AVPEventReportParamsDelegate. More... | |
(void) | - setAuthSource: |
Play by VID and playauth. More... | |
(void) | - setBitStreamSource: |
Play by bit stream. More... | |
(BOOL) | - setCacheConfig: |
Modify cache configuration. More... | |
(void) | - setConfig: |
Modify player configuration. More... | |
(void) | - setDefaultBandWidth: |
Set the default playback bitrate for multi-bit rate. More... | |
(void) | - setEventReportParamsDelegate: |
Set a proxy. More... | |
(void) | - setLiveStsSource: |
(void) | - setMaxAccurateSeekDelta: |
set the maximum interval of precision seek. More... | |
(void) | - setMpsSource: |
Play by VID and MPS. More... | |
(void) | - setPlayUrlConvertCallback: |
Set a URL conversion callback. More... | |
(void) | - setPreferPlayerName: |
Set preper player name. More... | |
(void) | - setStreamDelayTime:time: |
set the delay time of the stream More... | |
(void) | - setStsSource: |
Play by VID and STS. More... | |
(void) | - setThumbnailUrl: |
Specify a thumbnail image URL. More... | |
(void) | - setTraceID: |
Set a trace ID for debugging. More... | |
(void) | - setUrlSource: |
Play by URL. More... | |
(void) | - setVerifyStsCallback: |
(void) | - setVideoTag:size: |
Set the video tags. More... | |
(void) | - snapShot |
Snapshot. More... | |
(void) | - updateLiveStsInfo:accKey:token:region: |
Properties | |
NSTimeInterval | currentPlayTime |
Query the current playback time. More... | |
NSTimeInterval | liveTime |
Query the broadcasting time. More... | |
AVPTimeShiftModel * | timeShiftModel |
Update the user timeshifting time at an interval of 60 seconds. More... | |
![]() | |
BOOL | autoPlay |
Enable or disable autoplay. More... | |
int64_t | bufferedPosition |
Query the buffered position. More... | |
int64_t | currentPosition |
Query the current playback position. More... | |
id< AVPDelegate > | delegate |
Set a proxy. More... | |
int64_t | duration |
Query the length of the video. More... | |
BOOL | enableHardwareDecoder |
Enable or disable hardware decoding. More... | |
id< AVPEventReportParamsDelegate > | eventReportParamsDelegate |
int | height |
Query the height of the video. More... | |
BOOL | loop |
Enable or disable loop playback. More... | |
AVPMirrorMode | mirrorMode |
Set a mirroring mode. More... | |
BOOL | muted |
Mute or unmute the player. More... | |
AVPView * | playerView |
Set a player view (playerView). More... | |
float | rate |
Set the playback speed. More... | |
id< CicadaRenderDelegate > | renderDelegate |
AVPRotateMode | rotateMode |
Set a rotate mode. More... | |
int | rotation |
Query the rotate angle of the video, which is retrieved from the video metadata. More... | |
AVPScalingMode | scalingMode |
Set a zoom mode. More... | |
float | volume |
Query or set the volume of the player(Not system volume). More... | |
int | width |
Query the width of the video. More... | |
Additional Inherited Members | |
![]() | |
(NSString *) | + getDeviceUUID |
Query device UUID. More... | |
(NSString *) | + getSDKVersion |
Query the SDK version. More... | |
(void) | + initPlayerComponent:function: |
Initialize player components. More... | |
(void) | + setAudioSessionDelegate: |
设置AudioSession的Delegate More... | |
(void) | + setEnableLog: |
Enable or disable logging. More... | |
(void) | + setLogCallbackInfo:callbackBlock: |
Set a log output callback block. More... | |
- (void) prepareWithLiveTimeUrl: | (NSString *) | liveTimeUrl |
Send a request to the broadcasting timeshift URL.
liveTimeUrl | Broadcasting timeshift URL. |
- (void) seekToLiveTime: | (NSTimeInterval) | startTime |
Seek to a specified position.
startTime | Seek to the position specified by startTime in broadcasting. |
- (void) setLiveTimeShiftUrl: | (NSString *) | liveTimeShiftUrl |
Set a broadcasting timeshift URL.
liveTimeShiftUrl | Broadcasting timeshift URL. |
- (void) start |
Start the player.
Implements AliPlayer.
- (void) stop |
Stop the player.
Implements AliPlayer.
|
readwritenonatomicassign |
Query the current playback time.
|
readwritenonatomicassign |
Query the broadcasting time.
|
readwritenonatomicstrong |
Update the user timeshifting time at an interval of 60 seconds.
See AliyunPlayerVideoTimeShiftModel.