Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultSimulcastUplinkPolicy

DefaultSimulcastUplinkPolicy determines capture and encode parameters that reacts to estimated uplink bandwidth

Hierarchy

  • DefaultSimulcastUplinkPolicy

Implements

Index

Constructors

constructor

Properties

Static Readonly kHiTargetBitrateKbpsFhd

kHiTargetBitrateKbpsFhd: 2000 = 2000

Static Readonly kHiTargetBitrateKbpsHd

kHiTargetBitrateKbpsHd: 1200 = 1200

Static Readonly kLowTargetBitrateKbpsFhd

kLowTargetBitrateKbpsFhd: 500 = 500

Static Readonly kLowTargetBitrateKbpsHd

kLowTargetBitrateKbpsHd: 300 = 300

Static Readonly kMidTargetBitrateKbpsFhd

kMidTargetBitrateKbpsFhd: 1000 = 1000

Static Readonly kMidTargetBitrateKbpsHd

kMidTargetBitrateKbpsHd: 600 = 600

Methods

addObserver

chooseCaptureAndEncodeParameters

chooseEncodingParameters

  • chooseEncodingParameters(): Map<string, RTCRtpEncodingParameters>

chooseMediaTrackConstraints

  • chooseMediaTrackConstraints(): MediaTrackConstraints

forEachObserver

getEncodingSimulcastLayer

maxBandwidthKbps

  • maxBandwidthKbps(): number

removeObserver

setHasBandwidthPriority

  • setHasBandwidthPriority(_hasBandwidthPriority: boolean): void

setHighResolutionFeatureEnabled

  • setHighResolutionFeatureEnabled(enabled: boolean): void

setIdealMaxBandwidthKbps

  • setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps: number): void

updateConnectionMetric

updateIndex

wantsResubscribe

  • wantsResubscribe(): boolean

wantsVideoDependencyDescriptorRtpHeaderExtension

  • wantsVideoDependencyDescriptorRtpHeaderExtension(): boolean
  • Dependency descriptors can be used by the backend to designate spatial or temporal layers on a single encoding. Along with the video layers allocation exension this will result in the ability for remote attendees to subscribe to individual layers below the top.

    If the send transceiver is in a state where the layers allocation extension is not matching up with the dependency descriptor extension, or we simply don't want to allow for the seperation of spatial or temporal layers, we can remove the dependency descriptor from the SDP.

    Returns boolean

Generated using TypeDoc