Interface THEOplayerConfig

  • All Implemented Interfaces:

    
    public interface THEOplayerConfig
    
                        

    The THEOplayer Configuration API.

    • 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.

        • Set to false when a single key request will obtain all keys required to decrypt the stream.
        • Set to true when a different key request is needed for different qualities of the stream, or when the stream uses key rotation.

        Default: false

      • getPip

        @Nullable() abstract PipConfiguration getPip()

        The Picture in Picture configuration of the player.

        Returns:

        The PiP configuration. (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.