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
Microphone not being captured #3254
Comments
Hi, I am experiencing the same exact same issue. Extension version: 0.1.80 |
Noticed for myself this happened after muting and unmuting the call. My microphone was being captured fine, I muted the call for maybe 10 seconds, then unmuted and nothing. Was unable to get my microphone to register even after ending and restarting the audio call. Did not try fully restarting the session. Will update if I'm able to duplicate. Extension: 0.1.80 |
I'm witnessing something similar. My colleague is able to hear me, but I'm not able to hear him. I'm on OSX Catalina, but my colleague is not. UPDATE- Looks like a device restart did the trick for now. |
I'm also on Catalina and restarting hasn't fixed it. Sometimes I can hear my colleague but she can't hear me. Sometimes neither of us can hear each other. |
Thanks for filing this issue! Sorry to hear you've been having problems with audio. After you start (or join) the audio call are you able to configure your microphone? You can do this by clicking on the audio icon in the VS Code Status Bar and selecting Configure Microphone from the dropdown. Do you see your microphone in the list? If this doesn't work, your logs may provide us with helpful information. You can access them via the |
For those affected by this, I found a fix if you installed VS Code using homebrew. If you open VS Code through your terminal e.g. |
@jasmine-q Worked great! ETA: It only works if I launch VS Code from the Terminal. If I use e.g. Spotlight, the mic ceases to work. |
same issue. I use vs code from spotlight. My coworker was asked to allow microphone access when he joined my share, and his worked. I was never asked. Electron is not in my system preferences for microphone sharing. When my coworker invited me to collaborate and I joined his audio call I was asked for microphone access, and now Electron IS in my system preferences and the microphone works. The bug is the extension should ask for microphone access upon installation |
Same Issues here, I teach for an introduction class to programmation and we want to offer Live Help with Live Share, but honestly, people who need Live Help must have no complication to run Live Share because they can't fix it themself, they're not able to play with setting and the "Mac not prompting Microphone Permission" is really annoying. Hope the fix will come soon. |
Thanks for the feedback (and temporary workaround @jasmine-q!). Agreed, this is not a good experience for Catalina users. We're testing this out now and will see if we can resolve the issue. |
@jramsay Just be aware that this doesn't only happen on Catalina, I'm on Mojave and I have the issue as well. |
MacOS Catalina/Mojave has the apps default mic access denied, until an app specifically requests access to the HW resource. Sadly, you cannot manually add the app to the allowed list (weird). |
Sadly, the @jasmine-q working isn't working for me using macOS Catalina and latest VSCode + Live Share Extension Pack |
Since I didnt install via Brew, @jasmine-q's trick didnt work. The path for me was '/Applications/Visual Studio Code.app/Contents/MacOS/Electron' I just opened it via that link, and similarly it prompted to allow Terminal to use the mic. |
After much frustration trailing this for an education provider no mic prob, and having to auth about 10 times, I finally got it going with help from pbassham, although my path was |
Guys, opening VSCode form your terminal, it asks for a permission to the terminal to access your microphone, it could be a good work around for MAC users |
@tatosjb I agree, but for my case, I need a students proof solution, students who, for the most part, have never used a terminal before. With 200 to 400 students per session, I cannot guide them to a work around and it's the students who have the most difficulty who need a LiveShare session. Why is it always complicated with Mac :P |
for me did the job this |
For me the same -> sudo open /usr/local/bin/code |
@KerberosMorphy I agree with the fact that it is a real issue and have to be fixed, i just have tried to help between that time. I just run the bash and type |
@tatosjb I've tried the vscode online with liveshare, but it doesn't seem compatible with audio. The new github online IDE (vscode) also look great (hope to have preview access), if liveshare audio work it could be almost easier than fighting with MacOS. But generaly Microsoft/VS Code/Liveshare all seem to embrace pair programming, so I'm confident that this issue will be resolve. |
When running Any other workarounds? |
@Destaq You have tried to only execute |
if you are looking for something fool proof for your students and a way to open vscode could I suggest the following ( as it worked for me) open vscode |
Wow ^^ works great, thanks! |
I'm affected by this issue, but everything above I've tried and nothing is adding or requesting Microphone permissions for code. I've tried installing individual compoonents, the extension pack, re-installiing the extensions, code, both, nothing is getting the mic to work for me and I do not see Visual Studio Code in the Security & Privacy permissions |
with the Version: 1.46.1, my audio can not work(neither spotlight nor terminal) :( |
THANK YOU SO MUCH! Worked like a charm |
Any potential of getting this issue more attention? This has been ongoing now for 4+ months now and is a critical/great component to live-share! |
Maybe this information will be helpful. From my device log, filtering for
There are in fact a few errors actually which may be related as well:
|
Per
|
Might be helpful to compress several of these audio issues down to a single issue. Combined with the above; pretty sure that microsoft/vscode#95832 is related (as I've commented on other issues here). Here's all the audio tagged issues |
Suggested update to <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict>
</plist> |
Same issue here, why it isn't fixed????? Version: 1.48.2 |
After reading this other thread, I've figured out another incantation if these other workarounds haven't helped. Myself and another coworker were having this issue: I could hear others (who didn't have this issue), and my microphone turned on, but the data wasn't being sent to the other participants. This solved it for us. Full disclosure, I don't understand all the details... It seems that VS Code inherits its permissions from the Mac
This will crash with an
You should be good to go! Hopefully this helps you! 🤞 |
@movermeyer |
There appears to be two issues described here, and in some other places.
Can we clearly separate these two issues and get an update on progress towards both? I know I worked with @jramsay in a number of GH issues, including #3768 and microsoft/vscode/#103509. Would love to see an update as to where we are with at least the Live Share Audio issues. I see the current version is 0.1.85 and from a Mac, it isn't capturing my microphone likely because it doesn't have permission to use it. Can we also close off duplicates and consolidate the issues - should make it easier to manage the spray of GH issues in the future and help folks if you make it easier to search or list "Known Issues" ahead of time. |
We just released an update to the audio extension (v0.1.91) to the VS Code Marketplace that should address this issue. I'm going to close this and related items as fixed. Can you give it a go and let us know if it works for you? Thanks for all your help with this issue! |
I tried this but it is not working |
Issue Type: Bug
The extension works well, except that VSCode and/or Live Share Audio have not requested access to my microphone, so I cannot be heard on collaboration session calls. I cannot figure out how to get Code or the extension to prompt macOS Catalina to grant microphone access, either. Any guidance would be greatly appreciated!
Extension version: 0.1.80
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 19.3.0
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: