Class DefaultSimulcastUplinkPolicyForContentShare

[[DefaultSimulcastUplinkPolicyForContentShare]] sets the capture and encode parameters based on constructor input parameters

Implements

Constructors

Methods

  • Returns the selected encoding parameter

    Returns Map<string, RTCRtpEncodingParameters>

  • This function is deprecated and unused, and will be removed in a future release.

    Returns MediaTrackConstraints

  • Gets the maximum encoding bitrate kbps after bandwidth constraints are applied.

    Returns number

  • Sets whether video uplink bandwidth is currently prioritized.

    Parameters

    • _hasBandwidthPriority: boolean

    Returns void

  • Set if high resultion feature (i.e., 1080p for camera and 4k for content) is enabled.

    Parameters

    • enabled: boolean

    Returns void

  • Sets ideal maximum bandwidth kbps.

    Parameters

    • _idealMaxBandwidthKbps: number

    Returns void

  • Potentially update the optimal capture and encode parameters based on the given VideoStreamIndex.

    Parameters

    Returns void

  • Return true if the policy has decided that a change to the captured and transmitted video stream would be beneficial.

    Returns boolean