-
Notifications
You must be signed in to change notification settings - Fork 470
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
Set starting send bitrate to 1000kbps to reduce time of low resolution at start of connection #2987
Conversation
…n at start of connection
@@ -927,8 +927,9 @@ export default class SDP { | |||
// `x-google-start-bitrate` is an unofficial flag that has existed in libwebrtc since its release and is unlikely | |||
// to be removed without notification. | |||
// | |||
// libwebrtc reference: https://webrtc.googlesource.com/src/+/b6ef1a736ee94d97cc28f3bd59b826c716a3278f/media/base/media_constants.cc#97 | |||
const newLine = line + `;x-google-start-bitrate=${bitrateKbps * 1000}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oopsie daisy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, wonder how this would have worked so far with * 1000 already added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It just uses the max bitrate configured, so nothing terrible.
@@ -5,32 +5,22 @@ All notable changes to this project will be documented in this file. | |||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | |||
|
|||
## [Unreleased] | |||
## [3.26.0] - 2024-10-07 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should still be Unreleased?
Issue #: aws/amazon-chime-sdk-component-library-react#968
Description of changes: The original behavior isn't necessarily a bad thing, however I think the benefit of starting your video close to the intended quality on a clear network outweighs the risk aversion of a lower start bitrate. On a low-medium RTT connection I did not see any different in loss when enabling video before/after the change with my network constrained.
Testing:
Can these tested using a demo application? Please provide reproducible step-by-step instructions.
Checklist:
Have you successfully run
npm run build:release
locally?y
Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
n
Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?
n
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.