Upgrade from 2.0.1 to 3.0.0 causes "ReferenceError: MediaDeviceInfo is not defined" in Internet Explorer 11
See original GitHub issueDescribe the bug
We have upgraded from version 2.0.1
to 3.0.0
and now the app crashes and we’re getting the following error in Internet Explorer 11: ReferenceError: MediaDeviceInfo is not defined
.
Using 2.0.1
the app does not crash.
To Reproduce Steps to reproduce the behavior:
- Use
ngx-scanner
3.0.0 within an Angular 9 app - Open the app in Internet Explorer 11
- App crashes
- See error:
ReferenceError: MediaDeviceInfo is not defined
Expected behavior The Angular app does not crash in Internet Explorer 11
Desktop
- OS: Windows 10
- Browser: Internet Explorer
- Version: 11
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Upgrade to IE11 Issue - TechNet - Microsoft
I need to upgrade IE9 To IE11, i did follow all steps on the following ... 3- AppEnforce.log on client computer and there...
Read more >MediaDeviceInfo - Web APIs - MDN Web Docs
The MediaDeviceInfo interface contains information that describes a single media input or output device.
Read more >Upgrade from 2.0.1 to 3.0.0 causes "ReferenceError ... - GitAnswer
Upgrade from 2.0.1 to 3.0.0 causes "ReferenceError: MediaDeviceInfo is not defined" in Internet Explorer 11 - ngx-scanner. Describe the bug We have upgraded ......
Read more >getUserMedia in IE 11 or MediaStream in IE 11 - Stack Overflow
I hope you are using a WebRTC adapter, which helps standardising the API for performing these tasks. Temasys has their own adapter that ......
Read more >MediaDeviceInfo
Returns a DOMString that is a label describing this device (for example "External USB Webcam"). For security reasons, the label field is always ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@martea (a workaround)
@Shuyinsama it has nothing to do with this issue. The issue is because you need a secure server to access media device APIs outside localhost: