mediadevices Questions

6

I'm playing with the html5/javascript getUserMedia api to write a js app that will use the device's camera if available. I'm using Modernizr to detect the capability (of the browser) like this: if...
Charitacharitable asked 14/10, 2012 at 19:48

2

In order to capture output audio stream from a tab in manifest v2 one could use chrome.tabCapture.capture API in the background script to get the stream. But, in manifest v3 tabCapture has been mov...

5

I'm trying to create a photo capture web app on a nodeJS server, and i'm using the javascript code below. const btn = document.querySelector('#btn'); btn.addEventListener('click', (event) => {...
Beyond asked 15/3, 2020 at 13:40

1

My index.html to list all media devices is <!DOCTYPE html> <html> <body> <script> (async () => { await navigator.mediaDevices.getUserMedia({ audio: true, video: true ...
Tilford asked 25/8, 2021 at 9:42

4

With browser Web API, I'd like to set MediaDevices.getUserMedia constraints attributes, suitable to record audio speech (voice messages), e.g. setting these parameters: mono 16bit 16KHz Here my...
Engenia asked 15/6, 2020 at 16:9

1

Project: list all media devices, then select 1 specific audio output device which is different from the default of Windows I used enumerateDevices(), following many code examples, example here, and...

0

I am using navigator.mediaDevices.getDisplayMedia to get a screenshot, but it's capturing the only the visible part of the page but there is more content which is hidden in scroll area and which is...
Fernanda asked 11/10, 2020 at 10:52

1

Solved

I can't figure this out properly, or if it's even possible to switch cameras. I've tried stopping the video track before calling getUserMedia a second time, hoping that stopping the video track wo...
Expansile asked 10/4, 2020 at 20:16

1

Solved

Whenever I accept the permission to use the camera on the browser, my desktop camera will light up. I would assume this is because navigator.mediaDevices.getUserMedia() returns a stream on success,...
Presumptuous asked 13/2, 2020 at 21:3

1

Is there a way to find out if the user has rejected or allowed permission to the media devices (Eg: Microphone, Camera) in Firefox?. In Chrome, I can check that with navigator.permissions.query but...
Fluctuation asked 2/12, 2019 at 0:31

1

Solved

We can request a media stream to a screen or windows via navigator.mediaDevices.getDisplayMedia(). However, this immediately prompts the user to decide which kind of capturing to use. I need to che...
Abwatt asked 13/11, 2019 at 17:49

2

Solved

I'm trying to get the output of the speaker and then do what ever I want with this stream . I tried to use this to get the speaker's stream: var mySpeakerStream = new MediaStream(); navigator.media...
Host asked 31/10, 2019 at 13:50

2

Does anyone know what communication standards are being used to detect camera hardware for use with getUserMedia? I presume that it's MTP or something like that, although I expect that the implem...
Imeldaimelida asked 17/7, 2018 at 9:1
1

© 2022 - 2025 — McMap. All rights reserved.