Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# cordova-plugin-android-enumeratedevices
Cordova Android plugin exposing the audio and video devices connected

We 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));`