Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
Detect if HEVC video is playable in Safari
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});
});