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.
You can initialise these values by passing them to the session.subscribe method eg.
var subscriber = session.subscribe(stream, subscriberEl, {
maxResolution: {