I'm trying to use Web Codecs API to Decode HEVC stream(safari 16.4). However, when I configured the the Decoder like follow, it raise an rejection 'Config is not valid':
VideoDecoder.isConfigSupported({
codec: 'hvc1.1.6.L120.B0',
codedWidth: 1920,
codedHeight: 1080,
}).then(res=>{ console.log(res) }).catch(err=>{ console.log(err) })
I wander whether Web Codecs is supported HEVC decode in safari version 16.4 or I select a wrong codec string?