AdapterJS icon indicating copy to clipboard operation
AdapterJS copied to clipboard

Microphone title is cutted

Open jauhenk opened this issue 10 years ago • 4 comments

Hey, Microphone title in the popup window dropdown is cutted. Could you please take a look? Thanks! image

jauhenk avatar Sep 03 '15 09:09 jauhenk

Hi, I'll check if we can do that.

johache avatar Sep 03 '15 10:09 johache

1- I just checked, the issue is not in the dialog itself. GetSources returns a cut string as well. The issue is probably in the name management of either libWebRTC, or the plugin. I will be looking into it. 2- The issue does not happen on Safari 3- I took the opportunity to rename the dialog box to "Devices Access Permissions"

johache avatar Sep 03 '15 10:09 johache

Hi, After better investigation, the issue actually comes from libWebRTC that relies on WAVEINCAPS[1] to get the devices names. This function returns a device name of MAXPNAMELEN characters max [2]. I opened an issue on libWebRTC [3], suggesting to move to Chrome's solution, which I believe to be IMMDeviceEnumerator [4].

[1] https://msdn.microsoft.com/en-us/library/windows/desktop/dd743839(v=vs.85).aspx [2] http://stackoverflow.com/questions/1429143/get-the-full-audio-device-name-from-windows [3] https://code.google.com/p/webrtc/issues/detail?id=4970&thanks=4970&ts=1441356541 [4] https://msdn.microsoft.com/en-us/library/windows/desktop/dd371399(v=vs.85).aspx

johache avatar Sep 04 '15 09:09 johache

Thank you!

jauhenk avatar Sep 04 '15 20:09 jauhenk