A VideoUplinkBandwidthPolicy makes decisions about uplink video bandwidth usage and related camera capture parameters.
Update the internal state with the capture and encode parameters we expect to be used, and return the parameters.
Returns the selected encoding parameter
Returns the selected [[MediaTrackConstraints]] to update
Gets the maximum encoding bitrate kbps after bandwidth constraints are applied.
Sets whether video uplink bandwidth is currently prioritized.
Sets ideal maximum bandwidth kbps.
Updates VideoUplinkPolicy with connection metrics
Potentially update the optimal capture and encode parameters based on the given VideoStreamIndex.
Return true if the policy has decided that a change to the captured and transmitted video stream would be beneficial.
Generated using TypeDoc