class Fps extends BaseQualifier

Controls the range of acceptable FPS (Frames Per Second) to ensure that video (even when optimized) is delivered with an expected FPS level (helps with sync to audio).

Learn more: Video settings

Methods

__construct(mixed $min = null, mixed $max = null)

FPS constructor.

min(int $min)

Sets the minimum frame rate.

max(int $max)

Sets the maximum frame rate.

fromParams(string|array $qualifiers)

Creates a new instance using provided qualifiers array.

Details

__construct(mixed $min = null, mixed $max = null)

FPS constructor.

Parameters

Name Type Description
$min mixed
$max mixed

$this min(int $min)

Sets the minimum frame rate.

Parameters

Name Type Description
$min int The minimum frame rate in frames per second.

Return Value

$this

$this max(int $max)

Sets the maximum frame rate.

Parameters

Name Type Description
$max int The maximum frame rate in frames per second.

Return Value

$this

static Fps fromParams(string|array $qualifiers)

Creates a new instance using provided qualifiers array.

Parameters

Name Type Description
$qualifiers string|array The qualifiers.

Return Value

Fps

Constants

VALUE_CLASS