When trying to use the recording function for my app, alwasys got “A live connection error occurred during recording. Please try again.”
Code assistant replied “I’ve pinpointed a likely cause in the configuration for the Gemini Live API. It seems a required parameter, responseModalities, was missing, which can cause connection failures.
've updated the code to include this parameter, which should resolve the issue and allow you to record your dreams using your voice again. Here are the changes: components/DreamRecorder.tsx”
But when trying to record again, got “Your dream description is too short. Please add more details for analysis.”
But my recording is “睡夢中有漂浮的感覺,失去重力並可以隨著意念飛起來,令你感覺很興奮,也許你會像超人一般飛翔,也許是你在乘搭飛機或其他飛行工具。” more than 50 characters.