An API for checking browser capabilities for Jitsi Meet.
To use the Jitsi Meet browser capabilities API in your application you need to add a JS file with BrowserCapabilities implementation:
<script src="https://example.com/libs/browser_capabilities.min.js"></script>
true if Jitsi Meet is loaded in iframe and false otherwise. The default value is false.BrowserCapabilities class will detect the current browser. browserInfo is JS object with the following properties:
Example:
const browserCapabilities = new BrowserCapabilities(); // not using iframe; capabilities for the current browser
const browserCapabilities1 = new BrowserCapabilities(true); // using iframe; capabilities for the current browser.
const browserCapabilities1 = new BrowserCapabilities(true, {
name: 'Chrome',
version: '63.0'
}); // using iframe; capabilities for Chrome 63.0
isSupported - returns true if the browser is supported by Jitsi Meet and false otherwise.
supportsAudioIn - returns true if the browser supports incoming audio and false otherwise.
supportsAudioOut - returns true if the browser supports outgoing audio and false otherwise.
supportsVideoIn - returns true if the browser is supports incoming video and false otherwise.
supportsVideoOut - returns true if the browser is supports outgoing video and false otherwise.
supportsScreenSharing - returns true if the browser is supports screen sharing and false otherwise.