Questions tagged [mediadevices]
107 questions
1
vote
1 answer
Web Audio Api : navigator.mediaDevices.getUserMedia ---> Error:NotReadableError: Concurrent mic process limit
I am developing a 3D environment that connects two microphones with a specific geometry in my scene , runs locally.
I want to be able to switch between which microphone is being used ( when I press key A use mic1 and when I press key B use mic 2…
![](../../users/profiles/10636805.webp)
Μαρία Παπαδάκη
- 13
- 3
1
vote
0 answers
Can I create a stream from macro camera when available?
Is there any way to get a stream of the macro camera using the mediaDevices.getUserMedia(constraints)?
I'm trying to create a web app that will scan printed out barcodes and noticed that on some phones like Samsung A51, if I just use the facingMode:…
![](../../users/profiles/2811091.webp)
vasnakos
- 11
- 3
1
vote
1 answer
MediaDevices.getUserMedia throws exception on Windows when Zoom or MSTeams desktop clients are running (with camera on)
Environment
Browser: Chrome 87.0.4280.141
OS: Windows 10 Home
Zoom Version: 5.4.6(59296.1207)
I have a website that can access the the user's camera and take a short video on request. I am attempting to achieve this using the MediaDevices web…
![](../../users/profiles/7883103.webp)
BSimpson
- 195
- 1
- 2
- 10
1
vote
1 answer
How to use navigator media devices in Chromium based functional tests? (TestCafe)
TL;DR How can I run functional tests that use navigator.mediaDevices and its methods with TestCafe and Chromium?
I'm trying to write functional tests with TestCafe to test some WebRTC code. I'm using React. I have a custom hook that enumerates the…
![](../../users/profiles/8331756.webp)
J. Hesters
- 8,261
- 15
- 78
- 164
1
vote
0 answers
How can you ask for an alternative video input in Safari?
To get an alternative video input from MediaDevices.getUserMedia, my understanding is that you need to pass in the deviceID as a constraint. But, in Safari, to get access to deviceIDs via enumerateDevices, I need to call getUserMedia and get…
![](../../users/profiles/4036407.webp)
Thomas O'Brien
- 41
- 6
1
vote
2 answers
Google Chrome does not allow to choose the camera to use
I am developing a streaming website. It works, however, at some time, I have installed a software called OBS which installed a virtual camera. Since then, when the web site tries to use the camera, it uses the OBS virtual camera, instead of my…
![](../../users/profiles/1048588.webp)
jstuardo
- 2,687
- 10
- 44
- 101
1
vote
0 answers
Full Webpage Screenshot using getDisplayMedia() of MediaDevices API
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 getting missed. So can it be possible to capture…
![](../../users/profiles/2769372.webp)
Shobhit Verma
- 717
- 7
- 20
1
vote
0 answers
Video mediaDevices.getUserMedia zoom is not working in iOS
I'm implementing zxing-js to scan QR Code.
My task is to enable zoom while using the camera. It works well in Chrome on Android devices, but when I try to use it on iOS it doesn't work.
Below is my…
![](../../users/profiles/13731540.webp)
guyneedhelp
- 11
- 1
1
vote
1 answer
Detect removal of restriction of devices
Using getUserMedia to let user select microphone. Further I use enumerateDevices to create a select with devices so that user can change device from UI.
I am on Firefox and have not checked how others browsers fare, but at least for FF I have not…
![](../../users/profiles/3342816.webp)
user3342816
- 483
- 3
- 15
1
vote
1 answer
navigator.mediaDevices.ondevicechange not working while using audio jack
I'm trying to respond to the device change events using MediaDevice API as below
_trackDeviceChange: function () {
var e = this
navigator.mediaDevices.ondevicechange = function () {
…
![](../../users/profiles/10297063.webp)
Trideep Das
- 11
- 2
1
vote
1 answer
How to stop all mediaStreams
is there any way to generally just shut down all media streams?
I'm working with a package called wavesurfer in react and i can't stop the microphone with the given methods of the package. So i was wondering if there is anything to just cut all the…
![](../../users/profiles/12335980.webp)
Sascha Rissling
- 163
- 12
1
vote
0 answers
MediaDevices.getUserMedia() on IOS, android native app by ionic?
I've made voicecalling/videocalling/screensharing app for browser by webRTC/node.js/socket.io
And making PWA application for mobile users by ionic now.
Then, I can get user's (video and so on) track using MediaDevices.getUserMedia() on basic browser…
![](../../users/profiles/12543875.webp)
おばたかげまさ
- 11
- 1
- 2
1
vote
0 answers
navigator.mediaDevices is undefined when page is served by WampServer
On Firefox 70.0.1, when I open a page served by WampServer 3.1.9 and test navigator.mediaDevices, I get undefined.
If I open the same page via its file:/// URL, navigator.mediaDevices is a valid object.
How can the way the page is accessed affect…
![](../../users/profiles/2509060.webp)
Christophe Fuzier
- 649
- 4
- 9
1
vote
1 answer
Manually Close native screen picker of getDisplayMedia
Could I possibly close the native screen picker of getDisplayMedia({video:true}) without selecting an application to share?
As far as I know, it automatically closes on track.stop() if a track being shared is stopped. However, there is an instance…
![](../../users/profiles/6356663.webp)
Chowder
- 41
- 2
- 9
1
vote
0 answers
navigator.mediaDevices not available in Angular 8 app production build
I want to use navigator.mediaDevices in my app, and in development build all works, I have access to this object. When I build a production, and upload app to server, navigator have no object like mediaDevices. I can't find any information about it…
![](../../users/profiles/4791772.webp)
storin
- 103
- 13