JavaScript getusermedia DevicesNotFoundError thrown in latest browsers

I have been using getUserMedia() for WebRtc for a while now but since the latest update of browsers I have not been able to use this. On previous versions worked fine.

enter image description here

Affected browsers' versions Firefox - 57.0.4 , Chrome - 63.0.3239.132

Example code:

navigator.getUserMedia({ "audio": true, "video": false }, function (stream) {
  console.log(stream);
  localStream = stream;

},logError);

Also check this if anyone is getting this error in google sample code https://webrtc.github.io/samples/src/content/getusermedia/gum/

Is there any work around for this issue? Need help. Thanks

Answer:1

I have a button that has a drawable XML file set as the background, this is so that when the button is pressed the background colour and outline of the button is change. However it does not stay like ...

I have a button that has a drawable XML file set as the background, this is so that when the button is pressed the background colour and outline of the button is change. However it does not stay like ...

  1. change button state swift
  2. change button state tkinter
  3. change button state javascript
  4. change button state android
  5. change button state unity
  6. change button state arduino
  7. change button state react
  8. change button state
  9. change button state html
  10. change button state java
  11. change button state uibutton
  12. change state button click
  13. unity change button state script
  14. nextion change button state
  15. blynk change button state
  16. android change button state programmatically
  17. jquery change button state
  18. labview change button state
  19. change toggle button state android
  20. change radio button state javascript

when I run npm from terminal I get this error and nothing else. no npm command is working, all of them are giving the same error and I can't even install programs that are depending on nodejs. $ ...

when I run npm from terminal I get this error and nothing else. no npm command is working, all of them are giving the same error and I can't even install programs that are depending on nodejs. $ ...

I'm quite new to Angular and I've discovered that there's something like Renderer2, ViewChild and ElementRef for the sake of handling DOM rather than accessing it directly. And the articles I've come ...

I'm quite new to Angular and I've discovered that there's something like Renderer2, ViewChild and ElementRef for the sake of handling DOM rather than accessing it directly. And the articles I've come ...

I'm learning React. It seems to me that HOC like the following example from React's official docs: function withSubscription(WrappedComponent, selectData) { // ...and returns another component... ...

I'm learning React. It seems to me that HOC like the following example from React's official docs: function withSubscription(WrappedComponent, selectData) { // ...and returns another component... ...