Open
Description
File Name
gemini/multimodal-live-api/websocket-demo-app/frontend/script.js
What happened?
The proxy URL is incorrect. For local setup it probably should be
const PROXY_URL = "ws://localhost:8080";
The Cloud Run option describes how to do it there, but if a user only wants to do local setup they won't read that and expect it to work.
I'd recommend either setting a default proxy URL that works for local setup (preferred) or point the user in the README in the section for local setup to the code where they need to make a change.
Relevant log output
window.addEventListener("load", (event) => {
console.log("Hello Gemini Realtime Demo!");
setAvalibleCamerasOptions();
setAvalibleMicrophoneOptions();
});
const PROXY_URL = "wss://[THE_URL_YOU_COPIED_WITHOUT_HTTP]";
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels