Skip to content

expose RtpParameters.Encoding's minBitrateBps to VideoEncoding #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andyli
Copy link

@andyli andyli commented Mar 4, 2025

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.

Copy link

changeset-bot bot commented Mar 4, 2025

🦋 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
Copy link

CLAassistant commented Mar 4, 2025

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
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
Copy link
Author

andyli commented Apr 7, 2025

Rebased and minBitrate defaults to null now.

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