Skip to content

Add publisher initial video bitrate API - #1003

Draft
CrckerSun wants to merge 1 commit into
livekit:mainfrom
CrckerSun:codex/publisher-initial-video-bitrate
Draft

Add publisher initial video bitrate API#1003
CrckerSun wants to merge 1 commit into
livekit:mainfrom
CrckerSun:codex/publisher-initial-video-bitrate

Conversation

@CrckerSun

Copy link
Copy Markdown

Summary

  • add Room.setPublisherInitialVideoBitrate for configuring the publisher PeerConnection
  • set the WebRTC current and maximum video bitrate through PeerConnection.setBitrate
  • add regression coverage and release metadata

Motivation

VideoEncoding.maxBitrate only caps the sender encoding bitrate and does not initialize libwebrtc's current target bitrate. This API allows clients to seed the publisher bitrate after connecting, which is particularly useful for H.264 publishing.

Validation

  • ./gradlew :livekit-android-test:testDebugUnitTest --tests io.livekit.android.room.RTCEngineMockE2ETest.setPublisherInitialVideoBitrate
  • ./gradlew spotlessCheck

@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6efded5

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

This PR includes changesets to release 1 package
Name Type
client-sdk-android 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

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

3 participants