Optional devicewindow.devicePixelRatio
Optional logger?: LoggerA custom logger instance, pass {} to suppress all outputs
window.console
// suppressing `info` and `debug` messages, displaying only `error` and `warn` ones
Player.create({
logger {
error: console.error.bind(console),
warn: console.warn.bind(console),
},
// ... other options
})
Optional useUse future frame to filtrate prediction, improves stability, adds processed frame inconsistency
true
Optional useUse future frame to interpolate prediction, improves performance, adds processed frame inconsistency
false
Optional useUse new face tracking
Ordinary you won't use the option
Overrides
devicePixelRatioused for proper rendering on HiDPI devices