Interface THEOplayerConfig
-
- All Implemented Interfaces:
public interface THEOplayerConfigThe THEOplayer Configuration API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTHEOplayerConfig.BuilderThe builder for THEOplayerConfig.
-
Method Summary
Modifier and Type Method Description abstract booleanisMultiSession()Returns whether the player supports multi-key content when the license server doesn't respond with all keys at once. abstract StringgetLicense()The license. abstract StringgetLicenseUrl()The licenseUrl. abstract PipConfigurationgetPipConfiguration()The Picture in Picture configuration of the player. abstract NetworkConfigurationgetNetworkConfiguration()The network and retry configuration of the player. abstract THEOLiveConfiggetTHEOLiveConfiguration()The TheoLive configuration of the player. abstract booleanisAutoIntegrations()Whether all available integrations should be automatically added on the created Player. abstract booleanisTunnelingEnabled()Whether multimedia tunneling is enabled for the player or not. -
-
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
-
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 network and retry configuration of the player.
- Returns:
The network and retry configuration. (Nullable)
-
getTHEOLiveConfiguration
@Nullable() abstract THEOLiveConfig getTHEOLiveConfiguration()
The TheoLive configuration of the player.
- Returns:
The TheoLive configuration.
-
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.
-
-
-
-