Class VideoPriorityBasedPolicyConfig

[[VideoPriorityBasedPolicyConfig]] contains the network issue response delay and network issue recovery delay.

Constructors

  • Initializes a [[VideoPriorityBasedPolicyConfig]] with the network event delays.

    Parameters

    • networkIssueResponseDelayFactor: number = 0

      Delays before reducing subscribed video bitrate. Input should be a value between 0 and 1.

    • networkIssueRecoveryDelayFactor: number = 0

      Delays before starting to increase bitrates after a network event and delays between increasing video bitrates on each individual stream. Input should be a value between 0 and 1.

    Returns VideoPriorityBasedPolicyConfig

    These values are not used when server side network adaptation is used, which will become the default in the future. Therefore these constructors will be deprecated and removed in a later releases.

Properties

networkIssueRecoveryDelayFactor: number = 0

Delays before starting to increase bitrates after a network event and delays between increasing video bitrates on each individual stream. Input should be a value between 0 and 1.

networkIssueResponseDelayFactor: number = 0

Delays before reducing subscribed video bitrate. Input should be a value between 0 and 1.

serverSideNetworkAdaption: ServerSideNetworkAdaption = ServerSideNetworkAdaption.BandwidthProbingAndRemoteVideoQualityAdaption

Additional server side features to be enabled for network adaption. The only currently recommended value is ServerSideNetworkAdaption.BandwidthProbingAndRemoteVideoQualityAdaption

StableNetworkPreset: VideoPriorityBasedPolicyConfig = ...
UnstableNetworkPreset: VideoPriorityBasedPolicyConfig = ...

Methods