Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigator.getUserMedia AUDIO choppy/not useable in 0.8.0 #1270

Closed
longsleep opened this issue Oct 31, 2013 · 6 comments
Closed

navigator.getUserMedia AUDIO choppy/not useable in 0.8.0 #1270

longsleep opened this issue Oct 31, 2013 · 6 comments
Milestone

Comments

@longsleep
Copy link

With node-webkit 0.8.0 audio capture with getUserMedia / webrtc became unusable. Sounds like the audio is way too loud and gets clipped all the time or something.

Easy test is possible with https://apprtc.appspot.com/?debug=loopback which captures audio and video and subscribes itself again (loopback test).

{
"name": "test-webrtc-audiovideoloopback",
"main": "https://apprtc.appspot.com/?debug=loopback",
"window": {
"toolbar": true,
"frame": true
},
"nodejs": true,
"chromium-args": "--ignore-certificate-errors --enable-threaded-compositing"
}

The very same works nice with node-webkit 0.7.2.

I can reproduce with 0.8.0 on Linux 64bit and Windows. Did not try on the other platforms.

@tommoor
Copy link

tommoor commented Oct 31, 2013

I can confirm this issue on Mac 10.8 and 10.9, chromium-args specified above are not required to repro and this was also fine in 0.8-pre

@rogerwang
Copy link
Member

@tommoor does it work fine for you with 0.8.0-rc1?

@tommoor
Copy link

tommoor commented Oct 31, 2013

@rogerwang yes it works in that version, sorry I meant 0.8.0-rc1 - not 0.8-pre

@longsleep
Copy link
Author

I can confirm that it works with 0.8.0-rc1 but not with 0.8.0 final (Linux 64bit).

@tommoor
Copy link

tommoor commented Nov 16, 2013

nice one @rogerwang looking forward to testing, as someone who doesn't know any C++ i'd be interested to know why this caused the issue if you have a second? :-D

@rogerwang
Copy link
Member

The code just enumerated the device twice, that's the reason why audio get choppy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants