Skip to content

Conversation

dlarocque
Copy link
Contributor

@dlarocque dlarocque commented Oct 2, 2025

Merge to go into M172.

Adds sendTextRealtime(), sendAudioRealtime(), and sendVideoRealtime() methods to LiveSession, and deprecates the old sendMediaChunks and sendMediaStream().

The new methods send the data in new fields instead of in the generic _LiveClientRealtimeInput.realtimeInput.mediaChunks.

  • sendTextRealtime() sends text in _LiveClientRealtimeInput.realtimeInput.text
  • sendAudioRealtime() sends audio data in _LiveClientRealtimeInput.realtimeInput.audio
  • sendVideoRealtime() sends video data in _LiveClientRealtimeInput.realtimeInput.video

API Proposal: go/bidi-realtime-input-change (internal)

@dlarocque dlarocque requested review from a team as code owners October 2, 2025 20:39
Copy link

changeset-bot bot commented Oct 2, 2025

🦋 Changeset detected

Latest commit: d8b4fb9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
firebase Minor
@firebase/ai Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 2, 2025

Changeset File Check ✅

  • No modified packages are missing from the changeset file.
  • No changeset formatting errors detected.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 2, 2025

Size Report 1

Affected Products

  • @firebase/ai

    TypeBase (ccbf7ba)Merge (33d6842)Diff
    browser63.3 kB64.0 kB+727 B (+1.1%)
    main67.1 kB67.8 kB+727 B (+1.1%)
    module63.3 kB64.0 kB+727 B (+1.1%)
  • firebase

    TypeBase (ccbf7ba)Merge (33d6842)Diff
    firebase-ai.js49.9 kB50.6 kB+640 B (+1.3%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/wFTidzctBb.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 2, 2025

Size Analysis Report 1

Affected Products

  • @firebase/ai

    • LiveGenerativeModel

      Size

      TypeBase (ccbf7ba)Merge (33d6842)Diff
      size12.9 kB13.5 kB+625 B (+4.8%)
      size-with-ext-deps30.6 kB31.2 kB+631 B (+2.1%)
    • LiveSession

      Size

      TypeBase (ccbf7ba)Merge (33d6842)Diff
      size9.31 kB9.93 kB+625 B (+6.7%)
      size-with-ext-deps26.9 kB27.5 kB+631 B (+2.3%)
    • getLiveGenerativeModel

      Size

      TypeBase (ccbf7ba)Merge (33d6842)Diff
      size15.4 kB16.0 kB+625 B (+4.1%)
      size-with-ext-deps33.1 kB33.7 kB+631 B (+1.9%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/Ys3VeC1JT2.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants