Skip to content

expose RtpParameters.Encoding's minBitrateBps to VideoEncoding#619

Open
andyli wants to merge 2 commits into
livekit:mainfrom
andyli:VideoEncoding.minBitrate
Open

expose RtpParameters.Encoding's minBitrateBps to VideoEncoding#619
andyli wants to merge 2 commits into
livekit:mainfrom
andyli:VideoEncoding.minBitrate

Conversation

@andyli

@andyli andyli commented Mar 4, 2025

Copy link
Copy Markdown

TLDR: Allow users to set a min bitrate. It is useful in situations where there is some minimal network bandwidth guarantee.

I observed that the video stream from my Android app, built with LiveKit Android, always starts with a lower bitrate (as low as ~100kbps), even if I've configured it to have a maximum bitrate of 8000kbps. After around 2 minutes, the bitrate goes up to 3000kbps and reaches almost 8000kbps after a while.

Setting the min bitrate to 6000kbps allowed me to get an initial bitrate of ~4000kbps from the beginning.

@changeset-bot

changeset-bot Bot commented Mar 4, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c1b5f64

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

CLAassistant commented Mar 4, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@andyli andyli force-pushed the VideoEncoding.minBitrate branch from 5e8b000 to db894fa Compare March 4, 2025 05:21
@davidliu

Copy link
Copy Markdown
Contributor

Can you rebase main? One of the github actions needed to be updated to get the workflows working again.

@andyli andyli force-pushed the VideoEncoding.minBitrate branch from db894fa to c1b5f64 Compare April 7, 2025 00:01
@andyli

andyli commented Apr 7, 2025

Copy link
Copy Markdown
Author

Rebased and minBitrate defaults to null now.

@andyli

andyli commented May 20, 2025

Copy link
Copy Markdown
Author

Any chance to merge this soon? :)

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