o.version = parseInt(versions);
            }
        }
        return browserInfo;
    }


    function checkSupportMSEHevc() {
        return window.MediaSource && window.MediaSource.isTypeSupported('video/mp4; codecs="hev1.1.6.L123.b0"');
    }

    function checkSupportWCSHevc() {
        const browserInfo = getBrowser();

        return browserInfo.type.toLowerCase() === 'chrome' && browserInfo.version >= 107 && (location.protocol === 'https:' || location.hostname === 'localhost');
    }