import AndroidCatchupConfigurationTimeReference from './AndroidCatchupConfigurationTimeReference'; import AndroidCatchupConfigurationType from './AndroidCatchupConfigurationType'; /** * @group Interfaces */ export default interface AndroidCatchupConfigurationSpeed { /** * The time reference to which the thresholds will be relative to. */ timeReference: AndroidCatchupConfigurationTimeReference; /** * The strategy of the catchup behavior. * @see {@link AndroidCatchupConfigurationType} */ type: AndroidCatchupConfigurationType.Speed; /** * Threshold relative to the {@link AndroidCatchupConfigurationSpeed.timeReference} * which indicates the start trigger of the catchup. */ upperTimeThresholdMs: number; /** * Threshold relative to the {@link AndroidCatchupConfigurationSpeed.timeReference} * which indicates the end or destination of the catchup. */ lowerTimeThresholdMs: number; /** * Threshold relative to the {@link AndroidCatchupConfigurationSpeed.timeReference} * which indicates a fallback safeguard for the speed mode. */ fallbackTimeThresholdMs?: number; /** * Player speed at which to perform the catchup * when {@link AndroidCatchupConfigurationSpeed.upperTimeThresholdMs} is reached. */ speedCoefficient: number; /** * Directs the player to seek to catch up an upper time threshold on * video segment download timeout Errors. */ seekOnDownloadError?: boolean; }