We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e78b10 commit 70e4f2fCopy full SHA for 70e4f2f
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/LiveSession.kt
@@ -156,7 +156,7 @@ internal constructor(
156
receivedAudio.copyInto(audioBuffer, offset)
157
offset += receivedAudio.size
158
if (offset >= MIN_BUFFER_SIZE) {
159
- sendMediaStream(listOf(MediaData("audio/pcm", audioBuffer)))
+ sendMediaStream(listOf(MediaData( audioBuffer, "audio/pcm")))
160
audioBuffer.fill(0)
161
offset = 0
162
}
0 commit comments