Interface THEOplayerConfig
-
- All Implemented Interfaces:
public interface THEOplayerConfig
The THEOplayer Configuration API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
THEOplayerConfig.Builder
The builder for THEOplayerConfig.
-
Method Summary
Modifier and Type Method Description abstract boolean
isMultiSession()
Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once. abstract UIConfiguration
getUi()
The UI configuration of the player. abstract Double
getLiveOffset()
The offset duration between the live point and the end of the manifest. abstract Boolean
isHlsDateRange()
Returns whether the logic to expose date ranges parsed from HLS manifests is enabled. abstract String
getLicense()
The license. abstract String
getLicenseUrl()
The licenseUrl. abstract PipConfiguration
getPipConfiguration()
The Picture in Picture configuration of the player. abstract NetworkConfiguration
getNetworkConfiguration()
The retry configuration of the player. -
-
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
-
getUi
@Nullable() abstract UIConfiguration getUi()
The UI configuration of the player.
- Returns:
The UI configuration. (Nullable)
-
getLiveOffset
@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)
-
isHlsDateRange
@Nullable() abstract Boolean isHlsDateRange()
Returns whether the logic to expose date ranges parsed from HLS manifests is enabled. (Nullable)
-
getLicense
@Nullable() abstract String getLicense()
The license.
- Returns:
Returns the license. (Nullable)
-
getLicenseUrl
@Nullable() abstract String getLicenseUrl()
The licenseUrl.
- Returns:
Returns the licenseUrl. (Nullable)
-
getPipConfiguration
@Nullable() abstract PipConfiguration getPipConfiguration()
The Picture in Picture configuration of the player.
- Returns:
The PiP configuration. (Nullable)
-
getNetworkConfiguration
@Nullable() abstract NetworkConfiguration getNetworkConfiguration()
The retry configuration of the player.
- Returns:
The retry configuration. (Nullable)
-
-
-
-