I hereby claim:
- I am aullman on github.
- I am aullman (https://keybase.io/aullman) on keybase.
- I have a public key whose fingerprint is 562E 644D AEC6 20C5 DA4D B030 2BE7 1783 9BF0 C41D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
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: {
// Detect whether this browser is IE | |
var isNotIE = function isIE () { | |
var userAgent = window.navigator.userAgent.toLowerCase(), | |
appName = window.navigator.appName; | |
return !( appName === 'Microsoft Internet Explorer' || // IE <= 10 | |
(appName === 'Netscape' && userAgent.indexOf('trident') > -1) ); // IE >= 11 | |
}; | |
// If the browser is not IE, and it meets the minimum system requirements for the OpenTok platform, |