We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 access works when I run it using just the script app.py, but is non-responsive once I package the app.
So far I have tried
info_plist={ 'NSMicrophoneUsageDescription': 'This application requires microphone access to convert speech to text.', },
<key>NSMicrophoneUsageDescription</key> <string>This application requires microphone access to convert speech to text</string>
def request_mic_permissions(self): import pyaudio pa = pyaudio.PyAudio() try: stream = pa.open(format=pyaudio.paInt16, channels=1, rate=44100, input=True, frames_per_buffer=1024) print("Requesting microphone permissions...") data = stream.read(1024) # Attempt to read from the microphone to trigger the permission request stream.close() print("Microphone access granted.") except Exception as e: print(f"Failed to access microphone: {e}") finally: pa.terminate()
But none of these have yet succeeded.
This post suggests adding an entitlements.plist but my microphone access request isn't working even before code signing and notarization.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Microphone access works when I run it using just the script app.py, but is non-responsive once I package the app.
So far I have tried
But none of these have yet succeeded.
This post suggests adding an entitlements.plist but my microphone access request isn't working even before code signing and notarization.
The text was updated successfully, but these errors were encountered: