Class BitmovinHandler

java.lang.Object
com.nagra.otvaa.sdk.PlayerHandler
com.nagra.otvaa.sdk.BitmovinHandler
All Implemented Interfaces:
IPlayerHandler

public class BitmovinHandler extends PlayerHandler
  • Field Details

  • Constructor Details

    • BitmovinHandler

      public BitmovinHandler(@NonNull Object xPlayer)
  • 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

      public PlayerStatistics getStatistics()
      Description copied from interface: IPlayerHandler
      get the player statistics
      Specified by:
      getStatistics in interface IPlayerHandler
      Overrides:
      getStatistics in class PlayerHandler
      Returns:
      statistics instance
    • isReady

      public boolean isReady()
    • release

      public void release()
      Specified by:
      release in interface IPlayerHandler
      Overrides:
      release in class PlayerHandler
    • isLive

      public boolean isLive()
    • getPlayerVersion

      public String getPlayerVersion()
    • getMediaType

      protected MediaType getMediaType(com.bitmovin.player.api.network.HttpRequestType requestType)
    • getRequestType

      protected RequestType getRequestType(com.bitmovin.player.api.network.HttpRequestType requestType)