Skip to main content

Configuration

EyesonJS v1.9.5 introduces "Dynamic HD", so that the camera will send in HD quality wherever possible. This can be disabled to continue sending in SD resolution.

eyeson.config.hdCamera = false; // default is true

Since v1.5.1 Eyeson supports SFU mode in Safari (desktop and mobile). If your application encounters any issues, you can switch back to previous behaviour.

eyeson.config.allowSafariSFU = false; // default is true

If you are not planning to provide screen capturing, you can deactivate it in the configuration.

eyeson.config.screencapture = false;

Since version 1.8.9 there are some additional configurations.
Verbose to prevent Logger.info() and Logger.debug() messages. Read more.
VirtualBackground script path. Read more.

eyeson.config.verbose = true;
eyeson.config.vbgScriptPath = 'vendor/tflite/';

Furthermore, you can find the current version of EyesonJS here.

console.log(eyeson.config.version);
// -> "1.8.9"