Skip to content

Commit 6b6ff20

Browse files
committed
Address code review feedback
1 parent d4f1822 commit 6b6ff20

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ internal constructor(
196196
response
197197
.getOrNull()
198198
?.let {
199-
var x = it.readBytes().toString(Charsets.UTF_8)
200-
Log.d(TAG, x)
201199
JSON.decodeFromString<InternalLiveServerMessage>(
202200
it.readBytes().toString(Charsets.UTF_8)
203201
)
@@ -319,7 +317,6 @@ internal constructor(
319317
)
320318
.toInternal()
321319
)
322-
Log.d(TAG, jsonString)
323320
session.send(Frame.Text(jsonString))
324321
}
325322
}
@@ -369,7 +366,6 @@ internal constructor(
369366

370367
/** Listen to the user's microphone and send the data to the model. */
371368
private fun recordUserAudio() {
372-
// ?.onEach { sendAudioRealtime(InlineDataPart (it, "audio/pcm")) }
373369
// Buffer the recording so we can keep recording while data is sent to the server
374370
audioHelper
375371
?.listenToRecording()

0 commit comments

Comments
 (0)