Fix Clarity Boost mode detection

This commit is contained in:
redphx 2023-08-27 15:03:24 +07:00
parent 2a71e17d2d
commit f74de11e10

View File

@ -2945,7 +2945,8 @@ function injectStreamMenuButtons() {
e.preventDefault();
e.stopPropagation();
if ($STREAM_VIDEO.msVideoProcessing) {
const msVideoProcessing = $STREAM_VIDEO.msVideoProcessing;
if (msVideoProcessing && msVideoProcessing !== 'default') {
alert('This feature doesn\'t work when the Clarity Boost mode is ON');
return;
}