Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SimulcastUplinkPolicy

Hierarchy

Implemented by

Index

Methods

addObserver

chooseCaptureAndEncodeParameters

chooseEncodingParameters

  • chooseEncodingParameters(): Map<string, RTCRtpEncodingParameters>

chooseMediaTrackConstraints

  • chooseMediaTrackConstraints(): MediaTrackConstraints

forEachObserver

maxBandwidthKbps

  • maxBandwidthKbps(): number

removeObserver

Optional reset

  • reset(): void

setHasBandwidthPriority

  • setHasBandwidthPriority(hasBandwidthPriority: boolean): void

Optional setHighResolutionFeatureEnabled

  • setHighResolutionFeatureEnabled(enabled: boolean): void

setIdealMaxBandwidthKbps

  • setIdealMaxBandwidthKbps(maxBandwidthKbps: number): void

Optional setMeetingSupportedVideoSendCodecs

Optional setSVCEnabled

  • setSVCEnabled(enable: boolean): void

Optional setTransceiverController

  • Set a reference to the current transceiver controller. The audio video controller should call this method to pass down a transceiver controller to the policy when the meeting starts and set it to undefined when the meeting ends. If a meeting is stopped and started repeatedly, this pair of calls will be repeated to match. All calls to updateTransceiverController will occur between this pair of calls. This method should not throw.

    Parameters

    Returns void

updateConnectionMetric

updateIndex

Optional updateTransceiverController

  • updateTransceiverController(): void
  • Update the transceiver controller that is set from setTransceiverController such as setEncodingParameters. Only used when unified plan is enabled but not available for simulcast for now. This method should be called when the policy needs to update the local video encoding parameters such as after setHasBandwidthPriority has been called. The default audio video controller calls this after a video is on/off or when an active speakers changes. This method should not throw.

    Returns void

wantsResubscribe

  • wantsResubscribe(): boolean

Optional 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