mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.93k stars 1.98k forks source link

api.MediaRecorder.isTypeSupported_static - MediaRecorder.isTypeSupported wrongfully states true #23174

Closed KO81 closed 3 weeks ago

KO81 commented 4 months ago

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

MediaRecorder.isTypeSupported("video/webm;codecs=opus") states true in 126.0 (64-bit) but it isn't

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

MediaRecorder.isTypeSupported actually returns a statement, which is true.

Did you test this? If so, how?

x=['webm','ogg','mp4','x-matroska','3gpp','3gpp2','3gp2','quicktime','mpeg','aac','flac','wav'],y=['vp9','vp8','avc1','av1','h265','h.265','h264','h.264','opus','pcm','aac','mpeg','mp4a'],z={capture:false,passive:true,once:false};init();a=[]; for(d of ['video','audio']){let e0,e1,e2,e3=_('t'); for(e0 of x){ for(e1 of y){e2=d+'/'+e0+';codecs='+e1; if(MediaRecorder.isTypeSupported(e2)&&!a.includes(e2)&&d=='video'){a.push(e2) }if(a.length==2){i(e3,e0+';codecs='+e1);e3.dataset.array=a[0].split('/')[1]+','+a[1].split('/')[1] } } } }

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported_static

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder/isTypeSupported_static

MDN metadata

MDN page report details * Query: `api.MediaRecorder.isTypeSupported_static` * Report started: 2024-05-26T07:41:32.871Z
skyclouds2001 commented 4 months ago

I think this is too detail to mention in BCD project

queengooborg commented 3 weeks ago

I'm closing this issue for the following reasons: