From 42404671786ec4a7e19593fd648ab210fdd248bf Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Paz Date: Wed, 22 Oct 2025 12:12:12 -0400 Subject: [PATCH] [AI] Add kdoc note about sending video and audio To send video and audio, the dev should call to both `sendVideoRealtime` and `sendAudioRealtime` --- .../src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt index 924e2146005..699972fae5a 100644 --- a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/LiveSession.kt @@ -335,6 +335,8 @@ internal constructor( * * Instead of raw video data, the model expects individual frames of the video, sent as images. * + * If your video has audio, send it separately through [sendAudioRealtime]. + * * For better performance, frames can also be sent at a lower rate than the video; even as low as * 1 frame per second. *