Package com.nagra.otvaa.sdk
Class BitmovinHandler
java.lang.Object
com.nagra.otvaa.sdk.PlayerHandler
com.nagra.otvaa.sdk.BitmovinHandler
- All Implemented Interfaces:
IPlayerHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.nagra.otvaa.sdk.PlayerHandler
PlayerHandler.ErrorParams, PlayerHandler.HttpRequestParams, PlayerHandler.SeekParams, PlayerHandler.VideoSizeParams
-
Field Summary
FieldsFields inherited from class com.nagra.otvaa.sdk.PlayerHandler
mEventListener, mPlayerHolder, mPlayerStatistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
get the current position of the videoprotected com.nagra.insight.agent.api.enums.MediaType
getMediaType
(com.bitmovin.player.api.network.HttpRequestType requestType) int
get the player type, one of the value: PLAYER_TYPE_BITMOVIN PLAYER_TYPE_CONNECTprotected com.nagra.insight.agent.api.enums.RequestType
getRequestType
(com.bitmovin.player.api.network.HttpRequestType requestType) get the player statisticsint
get the video frame rateboolean
isLive()
boolean
isReady()
void
release()
Methods inherited from class com.nagra.otvaa.sdk.PlayerHandler
addPlayerEventListener, getEventName, notifyPlayerEvent, notifyPlayerEvent, removePlayerEventListener
-
Field Details
-
TAG
- See Also:
-
TO_MS
public static final int TO_MS- See Also:
-
-
Constructor Details
-
BitmovinHandler
-
-
Method Details
-
getCurrentPosition
public long getCurrentPosition()Description copied from interface:IPlayerHandler
get the current position of the video- Returns:
- current position in milliseconds
-
getPlayerType
public int getPlayerType()Description copied from interface:IPlayerHandler
get the player type, one of the value: PLAYER_TYPE_BITMOVIN PLAYER_TYPE_CONNECT- Returns:
- player type
-
getVideoFrameRate
public int getVideoFrameRate()Description copied from interface:IPlayerHandler
get the video frame rate- Returns:
- video frame rate
-
getStatistics
Description copied from interface:IPlayerHandler
get the player statistics- Specified by:
getStatistics
in interfaceIPlayerHandler
- Overrides:
getStatistics
in classPlayerHandler
- Returns:
- statistics instance
-
isReady
public boolean isReady() -
release
public void release()- Specified by:
release
in interfaceIPlayerHandler
- Overrides:
release
in classPlayerHandler
-
isLive
public boolean isLive() -
getPlayerVersion
-
getMediaType
protected com.nagra.insight.agent.api.enums.MediaType getMediaType(com.bitmovin.player.api.network.HttpRequestType requestType) -
getRequestType
protected com.nagra.insight.agent.api.enums.RequestType getRequestType(com.bitmovin.player.api.network.HttpRequestType requestType)
-