Skip to content

cookbook/quickstarts/Get_started_LiveAPI_NativeAudio.py responds with noise #791

@iakolzin

Description

@iakolzin

Description of the bug:

I'm using the script cookbook/quickstarts/Get_started_LiveAPI_NativeAudio.py "as is" and it plays a noise.
I start the interaction with something simple like "Hello" and the model responds soon after I stop speaking, so the end-of-speech detection works as expected. However, I hear a noise instead of the response. I can continue the conversation and the pattern repeats. I had the same issue with the previous generation of the models (2.0) as well.

Here are some other users experiencing a similar issue: https://discuss.ai.google.dev/t/static-audio-output-from-gemini-live-api-google-genai-sdk-on-ios-with-avaudioengine/81881/17

The version of my google-genai package is 1.18.0.

Actual vs expected behavior:

No response

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:quickstartsIssues/PR referencing quickstarts folderstatus:awaiting responseAwaiting a response from the authorstatus:staleIssue/PR is marked for closure due to inactivitytype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions