Skip to content

akilude/cordova-plugin-android-enumeratedevices

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cordova Android plugin exposing the audio and video devices connected

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.3%
  • JavaScript 18.7%