#import <VOCommonPlayerStatus.h>
- (bool VOCommonPlayerStatus) canBePaused |
|
|
|
Check if the stream can be paused.
- Returns
- true if the stream can be paused
- (BOOL VOCommonPlayerStatus) canPlayIframeOnly |
|
|
|
Check if the stream contains I-Frame.
- Returns
- true if current stream contains I-Frame, else return false.
- (VO_OSMP_DOWNLOAD_STATUS VOCommonPlayerStatus) getDownloadStatus: |
|
(VO_OSMP_SOURCE_STREAMTYPE) |
trackType |
|
Get the download status.
- Parameters
-
- Returns
- download status of the given track type, VO_OSMP_SS_MAX for error return
- (NSString * VOCommonPlayerStatus) getDRMUniqueIdentifier |
|
|
|
Get unique identifier of the device.
To get the UID, this method should be called after calling VOCommonPlayerConfiguration#setDRMLibrary. Note that UID is only changed if the SDK is reinstalled. The application upgrade will not lead to the change of UID.
- Returns
- unique identifier is successful; nil if unsuccessful
- (long VOCommonPlayerStatus) getDuration |
|
|
|
Get duration of the stream.
- Returns
- current stream duration <ms>; 0 if source is a live stream
- (long VOCommonPlayerStatus) getMaxPosition |
|
|
|
- (long VOCommonPlayerStatus) getMinPosition |
|
|
|
Get minimum position.
-
For VOD: returns 0
-
For Live: returns (getMaxPosition - DVR window size)
- Returns
- The position (ms); -1 if unsuccessful
- (VO_OSMP_RETURN_CODE VOCommonPlayerStatus) getParameter: |
|
(int) |
paramID |
pObj: |
|
(void *) |
pObj |
|
|
| |
Get the value from specified ID.
Use this method only based on recommendations by VisualOn.
- Parameters
-
paramID | [in] Parameter id. |
pObj | [out] Returned parameter value; relies on parameter id. |
- Returns
- VO_OSMP_ERR_NONE if successful
- (VO_OSMP_STATUS VOCommonPlayerStatus) getPlayerStatus |
|
|
|
- (VO_OSMP_PLAYER_ENGINE VOCommonPlayerStatus) getPlayerType |
|
|
|
- (long VOCommonPlayerStatus) getPosition |
|
|
|
- (int VOCommonPlayerStatus) getScreenBrightness |
|
|
|
Get the screen display brightness.
- Returns
- Current display brightness (percent)
- (id VOCommonPlayerStatus) getSEIInfo: |
|
(long long) |
time |
flag: |
|
(VO_OSMP_SEI_INFO_FLAG) |
flag |
|
|
| |
Get the SEI info.
- Parameters
-
- Returns
- the object according to flag if successful
- (long long VOCommonPlayerStatus) getUTCPosition |
|
|
|
Get the UTC position of current playback.
- Returns
- the position <ms>; -1 if unsuccessful
- (int VOCommonPlayerStatus) getValidBufferDuration |
|
|
|
Get the valid buffer duration (in ms).
- Returns
- Valid buffer duration, -1 for error return
- (NSString* VOCommonPlayerStatus) getVersion: |
|
(VO_OSMP_MODULE_TYPE) |
module |
|
Get version information of a module.
The OSMP+ SDK is currently built using the same version for all modules. Pass VO_OSMP_MODULE_TYPE_SDK instead of passing a module as an argument.
- Parameters
-
- Returns
- version information of the given module
- (bool VOCommonPlayerStatus) isLiveStreaming |
|
|
|
Check if the opened data source is a live streaming.
- Returns
- true if the data source is opened, is a streaming source and is a live streaming
- (BOOL VOCommonPlayerStatus) isOutputControlActive: |
|
(VO_OSMP_OUTPUT_CONTROL_TYPE) |
type |
|
Get the connection status of output control.
- Parameters
-
- Returns
- the status of connection
- (BOOL VOCommonPlayerStatus) isOutputControlEnforce: |
|
(VO_OSMP_OUTPUT_CONTROL_TYPE) |
type |
|
Get the enforce status of output control.
- Parameters
-
- Returns
- the status of enforce
The documentation for this protocol was generated from the following file: