Posts

Post not yet marked as solved
3 Replies
I think this is what I need:var config = { type: 'media-source', video: { contentType: 'video/mp4; codecs="hvc1.2.4.L153.90"', width: 1920, height: 1080, bitrate: 2646242, // number of bits used to encode a second of video framerate: '50' // number of frames used in one second } }; navigator.mediaCapabilities.decodingInfo(config).then(result => { console.log({result}); });
Post not yet marked as solved
3 Replies
The VTIsHardwareDecodeSupported also seems very interesting. Is there some way to access this feature through Safari on Mac OS?https://developer.apple.com/documentation/************/2887343-vtishardwaredecodesupported