-
Notifications
You must be signed in to change notification settings - Fork 620
Add RECORD_AUDIO permission check for Bidi Live API #7026
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
base: main
Are you sure you want to change the base?
Conversation
Added a check for the RECORD_AUDIO permission in the AI Logic SDK for Bidi (Live API) within the `LiveSession.startAudioConversation()` method. If the permission is missing, a `PermissionMissingException` is thrown with the message "Missing RECORD_AUDIO". Also added unit tests to verify the new permission check behavior.
Firebase AI Mock Responses Check
|
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. |
Generated by 🚫 Danger |
Coverage Report 1Affected ProductsNo changes between base commit (f735209) and merge commit (7e4377d).Test Logs |
I've added a check for the RECORD_AUDIO permission in the AI Logic SDK for Bidi (Live API) within the `LiveSession.startAudioConversation()` method. If the permission is missing, a `PermissionMissingException` is thrown with the message "Missing RECORD_AUDIO". I also added unit tests to verify the new permission check behavior. This commit includes only the source code changes for the feature and necessary test files. Unintended modifications to Gradle build scripts from previous troubleshooting steps have been reverted.
Size Report 1Affected Products
Test Logs |
Added a check for the RECORD_AUDIO permission in the AI Logic SDK for Bidi (Live API) within the
LiveSession.startAudioConversation()
method.If the permission is missing, a
PermissionMissingException
is thrown with the message "Missing RECORD_AUDIO".Also added unit tests to verify the new permission check behavior.