But, it's broader than that. It's an *async state* library.
Example: Here's a custom React Query hook for checking if a device's camera or audio input is available.
But, it's broader than that. It's an *async state* library.
Example: Here's a custom React Query hook for checking if a device's camera or audio input is available.
const audioInput = [...await navigator.mediaDevices.enumerateDevices()].filter((device) => device.kind === "audioinput");
developer.mozilla.org/ja/docs/Web/...
const audioInput = [...await navigator.mediaDevices.enumerateDevices()].filter((device) => device.kind === "audioinput");
developer.mozilla.org/ja/docs/Web/...
⚽🏈🏀⚾🏒
Visit: sickleandscythe.com
#SickleAndScythe #WorldCup #SportsFans #GameDay #SoccerFans #FootballFans #BasketballFans #HockeyFans #BaseballFans #CatchTheAction #HomeMedia #MediaDevices
⚽🏈🏀⚾🏒
Visit: sickleandscythe.com
#SickleAndScythe #WorldCup #SportsFans #GameDay #SoccerFans #FootballFans #BasketballFans #HockeyFans #BaseballFans #CatchTheAction #HomeMedia #MediaDevices
🟧 Limited availability
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia
The getDisplayMedia() method of the MediaDevices interface prompts the user to select and grant permission to capture the contents of a display or […]
🟧 Limited availability
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia
The getDisplayMedia() method of the MediaDevices interface prompts the user to select and grant permission to capture the contents of a display or […]
Web標準のMediaDevices APIやBarcodeDetector APIを使って、Androidで動くPWA版バーコードリーダーを作ってみた - メモ的な思考的な thinkami.hatenablog.com/entry/2025/1...
Web標準のMediaDevices APIやBarcodeDetector APIを使って、Androidで動くPWA版バーコードリーダーを作ってみた - メモ的な思考的な thinkami.hatenablog.com/entry/2025/1...
https://stackoverflow.com/questions/79379356/navigator-mediadevices-is-undefined-safari-ios-18-served-via-https
#javascript #ios #safari #webrtc #getusermedia
Event Attributes
https://stackoverflow.com/questions/79379356/navigator-mediadevices-is-undefined-safari-ios-18-served-via-https
#javascript #ios #safari #webrtc #getusermedia
Event Attributes