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 defaultMaxFrameRate

defaultMaxFrameRate: 15 = 15

Static Readonly defaultUplinkBandwidthKbps

defaultUplinkBandwidthKbps: number = 1200

Static Readonly holdDownDurationMs

holdDownDurationMs: number = 4000

Static Readonly kHiDisabledRate

kHiDisabledRate: 700 = 700

Static Readonly kMidDisabledRate

kMidDisabledRate: 240 = 240

Static Readonly startupDurationMs

startupDurationMs: number = 6000

Methods

addObserver

chooseCaptureAndEncodeParameters

  • chooseCaptureAndEncodeParameters(): DefaultVideoAndEncodeParameter

chooseEncodingParameters

  • chooseEncodingParameters(): Map<string, RTCRtpEncodingParameters>

chooseMediaTrackConstraints

  • chooseMediaTrackConstraints(): MediaTrackConstraints

forEachObserver

getEncodingSimulcastLayer

maxBandwidthKbps

  • maxBandwidthKbps(): number

removeObserver

setHasBandwidthPriority

  • setHasBandwidthPriority(_hasBandwidthPriority: boolean): void

setIdealMaxBandwidthKbps

  • setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps: number): void

updateConnectionMetric

  • updateConnectionMetric(__namedParameters: { uplinkKbps: number }): void

updateIndex

wantsResubscribe

  • wantsResubscribe(): boolean

Generated using TypeDoc