Creates a new instance for a given conference.
the conference instance for which the new instance will be managing the receive video quality constraints.
Returns a map of all the remote source names and the corresponding max frame heights.
the media session.
Optional
maxFrameHeight: numberthe height to be requested for remote sources.
Updates the source based constraints based on the maxHeight set.
Optional
maxFrameHeight: numberthe height to be requested for remote sources.
Returns the last set of receiver constraints that were set on the bridge channel.
Returns the lastN value for the conference.
Checks whether last-n was lowered because of a cpu limitation.
Handles the JitsiConferenceEvents.MEDIA_SESSION_STARTED, that is when the conference creates new media session. The preferred receive frameHeight is applied on the media session.
the started media session.
Sets the assumed bandwidth bps the local participant should receive from remote participants.
Optional
assumedBandwidthBps: numberthe new value.
Selects a new value for "lastN". The requested amount of videos are going to be delivered after the value is in effect. Set to -1 for unlimited or all available videos.
the new value for lastN.
Updates the lastNLimitedByCpu field.
Sets the maximum video resolution the local participant should receive from remote participants.
Optional
maxFrameHeight: numberthe new value.
Sets the receiver constraints for the conference.
The video constraints.
Updates the receivedResolutioLimitedByCpu field.
This class manages the receive video contraints for a given JitsiConference. These constraints are determined by the application based on how the remote video streams need to be displayed. This class is responsible for communicating these constraints to the bridge over the bridge channel.