Skip to main content

Configuration

The following parameters are available for the quality tests in their respective builders.

Android​

Please refer to the documentation in docs (in the downloaded SDK files) for more details on the Java APIs.

ExoPlayerQualityTest​

ParameterTypeDefault ValueDescription
manifestUriStringNoneThe manifest URL to be tested (required)
maxPlaybackDurationInteger30000Maximum playback duration in milliseconds
maxTestDurationInteger60000Maximum test duration in milliseconds
maxAnalysisDurationInteger10000Maximum analysis duration in milliseconds
progressIntervalInteger1000Progress interval in milliseconds

VideoQualityTest​

ParameterTypeDefault ValueDescription
urlStringNoneThe URL to be tested (required)
subjectStringNoneThe subject to be tested (required)
maxPlaybackDurationInteger30000Maximum playback duration in milliseconds
maxTestDurationInteger60000Maximum test duration in milliseconds
userAgentStringNoneOverride the WebView user agent (default agent if not set)

WebQualityTest​

ParameterTypeDefault ValueDescription
urlStringNoneThe URL to be tested (required)
timeoutInteger30000The timeout for the test in milliseconds
userAgentStringNoneOverride the WebView user agent (default agent if not set)

iOS​

AVPlayerQualityTest​

ParameterTypeDefault ValueDescription
manifestURLNoneThe manifest URL to be tested (required, passed to the builder's initializer)
maxPlaybackDurationMsInt6430000Maximum playback duration in milliseconds
maxTestDurationMsInt6445000Maximum test duration in milliseconds, must be at least maxPlaybackDurationMs
maxAnalysisDurationMsInt6410000Maximum analysis duration in milliseconds
progressIntervalMsInt1000Progress interval in milliseconds
calculationSettings[String: AnyHashable]EmptyP.1203 calculation settings, e.g. the pv and pq model names
externalPlayerAVPlayerNoneUse an externally created AVPlayer instead of the SDK's internal player
attachToViewUIViewNoneAttach the player to a view so playback is visible during the test
reportedDisplaySizeInt, Int1920x1080Display size reported to P.1203, in device pixels
metadata[String: AnyHashable]EmptyArbitrary key-value pairs stored alongside the measurement

externalPlayer and attachToView are mutually exclusive; setting both makes build() throw.

WebQualityTest​

ParameterTypeDefault ValueDescription
urlURLNoneThe URL to be tested (required, passed to the builder's initializer)
timeoutMsInt6430000The timeout for the test in milliseconds
containerViewUIViewNoneThe view the web view is added to, required for paint metrics
metadata[String: AnyHashable]EmptyArbitrary key-value pairs stored alongside the measurement