Skip to content

Commit 4194057

Browse files
authored
[AI] Add kdoc note about sending video and audio (#7506)
To send video and audio, the dev should call to both `sendVideoRealtime` and `sendAudioRealtime`
1 parent 89c3e53 commit 4194057

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ internal constructor(
335335
*
336336
* Instead of raw video data, the model expects individual frames of the video, sent as images.
337337
*
338+
* If your video has audio, send it separately through [sendAudioRealtime].
339+
*
338340
* For better performance, frames can also be sent at a lower rate than the video; even as low as
339341
* 1 frame per second.
340342
*

0 commit comments

Comments
 (0)