mdn / mdn/browser-compat-data

api.MediaDevices.enumerateDevices - doesnt return audio output device in ios safari

Open
#23,148 6 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:safari data:api
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

Safari is not fully supporting the enumerateDevices, even after getUserMedia is allowed, audiooutput device is 0

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

With headphones connected, i must be able to see external headphone and built in speaker listed

Did you test this? If so, how?

https://jsfiddle.net/px56shgz/

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

https://stackoverflow.com/questions/62827607/audio-output-device-array-is-of-length-0-on-safari

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices

MDN metadata
MDN page report details
  • Query: api.MediaDevices.enumerateDevices
  • Report started: 2024-05-22T08:43:44.872Z

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MDN enumerateDevices page and the Safari behavior demonstrated in the linked JSFiddle. Compare the current compatibility entry for MediaDevices.enumerateDevices with Safari on iOS, then update the JSON data if the reported audio-output support is confirmed; done means the compatibility table accurately reflects the tested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.