Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api.MediaRecorder.isTypeSupported_static - <SUMMARIZE THE PROBLEM> #23173

Closed
KO81 opened this issue May 26, 2024 · 1 comment
Closed

api.MediaRecorder.isTypeSupported_static - <SUMMARIZE THE PROBLEM> #23173

KO81 opened this issue May 26, 2024 · 1 comment
Labels
invalid Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry!

Comments

@KO81
Copy link

KO81 commented May 26, 2024

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

MediaRecorder.isTypeSupported("video/webm;codecs=opus")
on call i get an error like shown in the picture.

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

MediaRecorder.isTypeSupported("video/webm;codecs=opus") being actually 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] } } };hå(a) }

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
Copy link

This issue was automatically closed because the title was left as the default, and a summary was not added.

If this is not a spam issue, please replace the <SUMMARIZE THE PROBLEM> part of the title with a short summary of the reported issue, and then post a follow-up comment. A maintainer will review your issue and reopen it if needed.

@github-actions github-actions bot added the invalid Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry! label May 26, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry!
Projects
None yet
Development

No branches or pull requests

1 participant