codio icon indicating copy to clipboard operation
codio copied to clipboard

[VSCode] Audio not being saved

Open bradydowling opened this issue 4 years ago • 6 comments

On macOS when I record a Codio, my audio doesn't get saved into an mp3 file within the Codio. There are no errors in the UI or in the console when I run it in debug mode, just no audio is saved. Playing Codios with audio already in them is not an issue so I don't believe it's a problem with ffmpeg.

bradydowling avatar Jun 29 '20 00:06 bradydowling

@bradydowling Interesting, It seems to work for me.

Can you check if VSCode has access to your microphone? My theory is that maybe at some point you denied VSCode the access to your microphone, which is why ffmpeg does not work when being called from vscode context.

If that is the case, we need to come up with a way to figure that out and warn the user/give an additional prompt.

bogobogo avatar Jun 29 '20 15:06 bogobogo

Hmm, VSCode doesn't even show up in the Privacy > Microphone access list (macOS).

bradydowling avatar Jun 29 '20 16:06 bradydowling

Which macOS version?

bogobogo avatar Jun 29 '20 18:06 bogobogo

macOS version: 10.14.6 (Mojave) VS Code Version: 1.46.1

bradydowling avatar Jun 29 '20 18:06 bradydowling

https://github.com/MicrosoftDocs/live-share/issues/3254 seems related

bogobogo avatar Jun 29 '20 20:06 bogobogo

I'll try some of those things out and see if I can get it to trigger the permissions request.

bdowling-chwy avatar Jun 29 '20 21:06 bdowling-chwy