Re: [mediacapture-main] I got an issue for capture audio from other applications while using GetDisplayMedia for screen sharing in a React Native app. (#1002)

You appear to be asking for screen-sharing video (getDisplayMedia) but microphone-derived audio (getUserMedia). You should instead call `getDisplayMedia({video: true, audio: true})`.

Note that availability of video/audio for screen-sharing differs by (1) browser, (2) OS and (3) what the user ends up sharing (tab/window/screen). For example, Chrome does not currently support screen-sharing on Android. Such issues belong in the browser's bug-tracker rather than here, though.

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/1002#issuecomment-2095374817 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 May 2024 07:43:06 UTC