File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
firebase-ai/src/main/kotlin/com/google/firebase/ai Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ public abstract class LiveSessionFutures internal constructor() {
141141 * input usage.
142142 * @param video The video data to send. Video MIME type could be either video or image.
143143 */
144- public abstract fun sendVideoRealtime (video : InlineData ) : ListenableFuture <Unit >
144+ public abstract fun sendVideoRealtime (video : InlineData ): ListenableFuture <Unit >
145145
146146 /* *
147147 * Sends text data to the server in realtime. Check
@@ -219,7 +219,6 @@ public abstract class LiveSessionFutures internal constructor() {
219219 override fun sendAudioRealtime (audio : InlineData ): ListenableFuture <Unit > =
220220 SuspendToFutureAdapter .launchFuture { session.sendAudioRealtime(audio) }
221221
222-
223222 override fun sendVideoRealtime (video : InlineData ): ListenableFuture <Unit > =
224223 SuspendToFutureAdapter .launchFuture { session.sendVideoRealtime(video) }
225224
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ internal constructor(
261261 *
262262 * To learn more about audio formats, and the required state they should be provided in, see the
263263 * docs on
264- * [Supported audio formats](https://cloud.google.com/vertex-ai/generative-ai/docs/live-api#supported-audio-formats).
264+ * [Supported audio formats](https://cloud.google.com/vertex-ai/generative-ai/docs/live-api#supported-audio-formats)
265265 *
266266 * @param audio Raw audio data used to update the model on the client's conversation. For best
267267 * results, send 16-bit PCM audio at 24kHz.
@@ -278,8 +278,7 @@ internal constructor(
278278 * Sends a video input stream to the model, using the realtime API.
279279 *
280280 * @param video Encoded video data, used to update the model on the client's conversation. The
281- * MIME type can be a video format (e.g., `video/webm`) or an image format (e.g.,
282- * `image/jpeg`).
281+ * MIME type can be a video format (e.g., `video/webm`) or an image format (e.g., `image/jpeg`).
283282 */
284283 public suspend fun sendVideoRealtime (video : InlineData ) {
285284 FirebaseAIException .catchAsync {
You can’t perform that action at this time.
0 commit comments