The Subscriber has maxResolution and maxFrameRate properties:
maxResolution
- Object containing a width and a height property. When set the Subscriber will try to use a resolution that falls within those values.maxFrameRate
- The maximum frame rate the Subscriber should use. This is an integer value.
These properties are used to limit the maximum quality of the stream for that specific subscriber and also to prioritize different subscribers in the same endpoint. In case the bandwidth available is not enough to send the video of all the subscribers at maximum quality they will be prioritized based on these properties (for example a subscriber with higher maxResolution/FrameRate will receive more bits when the available bandwidth is limited).
You can initialise these values by passing them to the session.subscribe method eg.