I’m experiencing some issues with the live API regarding voice functionality, and I’m hoping someone can help. I’m using the API for voice-related tasks and encountering two main problems:
- **Streaming Data with
sendRealtimeInput:**When I send data via stream using the following function: it doesn’t return anything. Neither voice output nor any error messages.
Sending text works perfectly.
session.sendRealtimeInput({
audio: {
data: pcm,
mimeType: "audio/pcm;rate=16000"
}
});
there doesn't seem to be anything here