◆ onBufferedPositionUpdate:position:()
- (void) onBufferedPositionUpdate: |
|
(AliPlayer *) |
player |
position: |
|
(int64_t) |
position |
|
|
| |
|
optional |
Current cache position callback.
- Parameters
-
player | Player pointer. |
position | Current cache position. |
◆ onCaptureScreen:image:()
- (void) onCaptureScreen: |
|
(AliPlayer *) |
player |
image: |
|
(AVPImage *) |
image |
|
|
| |
|
optional |
Snapshot retrieval callback.
- Parameters
-
player | Player pointer. |
image | Snapshot. |
- See also
- AVPImage
◆ onCurrentPositionUpdate:position:()
- (void) onCurrentPositionUpdate: |
|
(AliPlayer *) |
player |
position: |
|
(int64_t) |
position |
|
|
| |
|
optional |
Current playback position callback.
- Parameters
-
player | Player pointer. |
position | Current playback position. |
◆ onError:errorModel:()
Proxy error callback.
- Parameters
-
player | Player pointer. |
errorModel | Player error description. See AVPErrorModel. |
- See also
- AVPErrorModel
◆ onGetThumbnailFailed:()
- (void) onGetThumbnailFailed: |
|
(int64_t) |
positionMs |
|
|
optional |
Thumbnail image retrieval failure callback.
- Parameters
-
positionMs | The specified thumbnail image position. |
◆ onGetThumbnailSuc:fromPos:toPos:image:()
- (void) onGetThumbnailSuc: |
|
(int64_t) |
positionMs |
fromPos: |
|
(int64_t) |
fromPos |
toPos: |
|
(int64_t) |
toPos |
image: |
|
(id) |
image |
|
|
| |
|
optional |
Thumbnail image retrieval success callback.
- Parameters
-
positionMs | The specified thumbnail image position. |
fromPos | The initial position of the thumbnail image. |
toPos | The end position of the thumbnail image. |
image | Thumbnail image pointer. Mac: NSImage. iOS: UIImage. |
◆ onLoadingProgress:progress:()
- (void) onLoadingProgress: |
|
(AliPlayer *) |
player |
progress: |
|
(float) |
progress |
|
|
| |
|
optional |
Buffer progress callback.
- Parameters
-
player | Player pointer. |
progress | Buffer progress: from 0 to 100. |
◆ onPlayerEvent:eventType:()
Player event callback.
- Parameters
-
player | Player pointer. |
eventType | Player event type. |
- See also
- AVPEventType
◆ onPlayerEvent:eventWithString:description:()
- (void) onPlayerEvent: |
|
(AliPlayer *) |
player |
eventWithString: |
|
(AVPEventWithString) |
eventWithString |
description: |
|
(NSString *) |
description |
|
|
| |
|
optional |
Player event callback.
- Parameters
-
player | Player pointer. |
eventWithString | Player event type. |
description | Player event description. |
- See also
- AVPEventType
◆ onPlayerStatusChanged:oldStatus:newStatus:()
Player status update callback.
- Parameters
-
player | Player pointer. |
oldStatus | The previous status. See AVPStatus. |
newStatus | The updated status. See AVPStatus. |
- See also
- AVPStatus
◆ onSEIData:type:data:()
- (void) onSEIData: |
|
(AliPlayer *) |
player |
type: |
|
(int) |
type |
data: |
|
(NSData *) |
data |
|
|
| |
|
optional |
SEI callback.
- Parameters
-
- See also
- AVPImage
◆ onSubtitleHide:index:()
- (void) onSubtitleHide: |
|
(AliPlayer *) |
player |
index: |
|
(int) |
index |
|
|
| |
|
optional |
Hide subtitle callback.
- Parameters
-
player | Player pointer. |
index | Subtitle index. |
◆ onSubtitleShow:index:subtitle:()
- (void) onSubtitleShow: |
|
(AliPlayer *) |
player |
index: |
|
(int) |
index |
subtitle: |
|
(NSString *) |
subtitle |
|
|
| |
|
optional |
Show subtitle callback.
- Parameters
-
player | Player pointer. |
index | Subtitle index. |
subtitle | Subtitle string. |
◆ onTrackChanged:info:()
Track switchover completion callback.
- Parameters
-
player | Player pointer. |
info | Track switchover completion information. See AVPTrackInfo. |
- See also
- AVPTrackInfo
◆ onTrackReady:info:()
Track information callback.
- Parameters
-
player | Player pointer. |
info | An array of track information. |
- See also
- AVPTrackInfo
◆ onVideoSizeChanged:width:height:rotation:()
- (void) onVideoSizeChanged: |
|
(AliPlayer *) |
player |
width: |
|
(int) |
width |
height: |
|
(int) |
height |
rotation: |
|
(int) |
rotation |
|
|
| |
|
optional |
Video size change callback.
- Parameters
-
player | Player pointer. |
width | Video width. |
height | Video height. |
rotation | Video rotate angle. |
The documentation for this protocol was generated from the following file: