We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2854f0 commit a83a0cfCopy full SHA for a83a0cf
index.html
@@ -603,9 +603,7 @@ <h3>Examples</h3>
603
// Try to correct lighting.
604
const videoCapabilities = videoTrack.getCapabilities();
605
if ((videoCapabilities.lightingCorrection || []).includes(true)) {
606
- await videoTrack.applyConstraints({
607
- advanced: [{lightingCorrection: true}]
608
- });
+ await videoTrack.applyConstraints({lightingCorrection: {exact: true}});
609
} else {
610
// Lighting correction is not supported by the platform or by the camera.
611
// Consider falling back to some other method.
0 commit comments