Skip to content

Commit 6c4050c

Browse files
authored
Merge branch 'main' into davidmotson.prompt_templates
2 parents 7645acf + 0afe7cb commit 6c4050c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,14 @@ 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
*
341-
* @param inlineData Encoded image data extracted from a frame of the video, used to update the
342-
* model on the client's conversation, with the corresponding IANA standard MIME type of the video
343-
* frame data (e.g., `image/png`, `image/jpeg`, etc.).
343+
* @param video Encoded image data extracted from a frame of the video, used to update the model
344+
* on the client's conversation, with the corresponding IANA standard MIME type of the video frame
345+
* data (e.g., `image/png`, `image/jpeg`, etc.).
344346
*/
345347
public suspend fun sendVideoRealtime(video: InlineData) {
346348
FirebaseAIException.catchAsync {

0 commit comments

Comments
 (0)