Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openvidu/cordova-plugin-android-enumeratedevices
Cordova Android plugin exposing the audio and video devices connected
https://github.com/openvidu/cordova-plugin-android-enumeratedevices
Last synced: about 1 month ago
JSON representation
Cordova Android plugin exposing the audio and video devices connected
- Host: GitHub
- URL: https://github.com/openvidu/cordova-plugin-android-enumeratedevices
- Owner: OpenVidu
- License: apache-2.0
- Created: 2019-07-08T13:34:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T15:06:56.000Z (almost 5 years ago)
- Last Synced: 2024-02-24T19:57:13.681Z (10 months ago)
- Language: Java
- Size: 15.6 KB
- Stars: 3
- Watchers: 5
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cordova-plugin-android-enumeratedevices
Cordova Android plugin exposing the audio and video devices connectedWe develop this plugin with the aim of fix the empty devices labels in ionic Android using de android webview WebRTC API. We got the labels with the native code but the devices id's were quite different with the WebRTC API that the ionic webview provide us. This is why we were not able to joint the labels with the devices.
Inferring that the devices returned by WebRTC API and by the native code (plugin) arrive in the same order, we match the labels with the id's in the ionic app side.
Just calling to
`cordova.plugins.EnumerateDevicesPlugin.getEnumerateDevices().then(devices => console.log(devices));`