Creates new instance for a given conference.
the conference instance for which the new instance will be managing the send video quality constraints.
Configures the video encodings on the local sources when a media connection is established or becomes active.
Handles the JitsiConferenceEvents.MEDIA_SESSION_STARTED, that is when the conference creates new media session. It doesn't mean it's already active though. For example the JVB connection may be created after the conference has entered the p2p mode already.
the started media session.
Propagates the video constraints if they have changed.
The sender video constraints received from the bridge.
Sets local preference for max send video frame height.
the new value to set.
The class manages send video constraints across media sessions(JingleSessionPC) which belong to JitsiConference. It finds the lowest common value, between the local user's send preference and the remote party's receive preference. Also this module will consider only the active session's receive value, because local tracks are shared and while JVB may have no preference, the remote p2p may have and they may be totally different.