Files
jitsi-meet/react/features/base/lib-jitsi-meet/constants.js
Lyubo Marinov 0ed85b9d25 Replace features/unsupported-browser SET_UNSUPPORTED_BROWSER with features/base/lib-jitsi-meet SET_WEBRTC_READY
The error raised by JitsiMeetJS.init() is already in the state of
features/base/lib-jitsi-meet so it's not a good design to store the same
error in the state of features/unsupported-browser.
2017-02-28 00:18:51 -06:00

14 lines
524 B
JavaScript

/**
* The name of the Error thrown by {@link JitsiMeetJS.init()} which indicates
* that WebRTC is not ready and its readiness may be tracked via the
* webRTCReadyPromise property value of the Error.
*/
export const WEBRTC_NOT_READY = 'WEBRTC_NOT_READY';
/**
* The name of the Error thrown by {@link JitsiMeetJS.init()} which indicates
* that WebRTC is not supported by the execution environment either natively or
* via a known plugin such as Temasys.
*/
export const WEBRTC_NOT_SUPPORTED = 'WEBRTC_NOT_SUPPORTED';