#import <OOOoyalaPlayer+Playback.h>
Get the current bitrate.
- Returns
- a double indicating the current bitrate in bytes
Extends class OOOoyalaPlayer.
Get the maximum buffered time.
- Returns
- the buffered time in seconds of the currently playing item
Extends class OOOoyalaPlayer.
Gets the duration of the asset.
- Returns
- the duration of the currently playing asset, in seconds
Extends class OOOoyalaPlayer.
- (NSSet *) getCuePointsAtSecondsForCurrentPlayer |
|
|
|
Return a collection of the times at which to show cue points.
E.g. for the content player, show when ads are scheduled to play.NSNumber int seconds>
Extends class OOOoyalaPlayer.
- (BOOL) isAuthTokenExpired |
|
|
|
Checks the expiration of the authToken, and compares it to the current time.
- Returns
- YES if token is expired, NO otherwise
Extends class OOOoyalaPlayer.
Get whether the player is playing.
- Returns
- a BOOL indicating the current player is playing
Extends class OOOoyalaPlayer.
Get whether the player is playing ad.
- Returns
- a BOOL indicating the current player is playing ad
Extends class OOOoyalaPlayer.
- (BOOL) isShowingAdWithCustomControls |
|
|
|
- Returns
- YES if self.isShowingAd==YES and the ad player reports that it has custom controls, instead of using the Ooyala video controls.
Extends class OOOoyalaPlayer.
Gets the (approximate) real time of a live stream.
- Returns
- currently playing time
Extends class OOOoyalaPlayer.
Gets the current playhead time (the part of the video currently being accessed).
- Returns
- the current playhead time, in milliseconds
Extends class OOOoyalaPlayer.
- (void) playWithInitialTime: |
|
(Float64) |
time |
|
Plays the current video with an initial time.
Extends class OOOoyalaPlayer.
- (void) seek: |
|
(Float64) |
time |
|
Sets the current playhead time of the player (same as setPlayheadTime).
- Parameters
-
[in] | time | the playhead time, in seconds |
Extends class OOOoyalaPlayer.
- (CMTimeRange) seekableTimeRange |
|
|
|
- (void) setPlayheadTime: |
|
(Float64) |
time |
|
Sets the current playhead time of the player (same as seek).
For example, to start a video at the 30 second point, you would set the playhead to 30.
- Parameters
-
[in] | time | the playhead time, in seconds |
Extends class OOOoyalaPlayer.
- (void) togglePictureInPictureMode |
|
|
|
Toggle the picture in picture mode iOS 9 and up only.
Extends class OOOoyalaPlayer.
The documentation for this category was generated from the following file: