Interface THEOplayerConfig

  • All Implemented Interfaces:

    
    public interface THEOplayerConfig
    
                        

    The THEOplayer Configuration API.

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • isMultiSession

         abstract boolean isMultiSession()

        Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once.

        • When using the experimental rendering multi-key content is only supported for license servers who return all key at once.
        • Setting this parameter to true also supports license server who doesn't return all keys at once.
        • When using this flag adaptation between streams that use different keys will not be completely seamless.

        Default: false

      • getLiveOffset

        @Deprecated()@Nullable() abstract Double getLiveOffset()

        The offset duration between the live point and the end of the manifest.

        • This will return null if it is 3 target durations.
        Returns:

        The offset duration between the live point and the end of the manifest, in seconds. (Nullable)

      • isAutoIntegrations

         abstract boolean isAutoIntegrations()

        Whether all available integrations should be automatically added on the created Player.

        Returns:

        True if integrations should be automatically added.

      • isTunnelingEnabled

         abstract boolean isTunnelingEnabled()

        Whether multimedia tunneling is enabled for the player or not.

        • Only supported with the Media3 integration.
        • Only supported if setRenderingTarget is set to SURFACE_VIEW.
        • Only supported if the media being played includes both audio and video.
        • Only supported on limited number of video codecs and devices.
        Returns:

        True if multimedia tunneling is enabled.