Skip to content
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

feat(ios): add onBandwidthUpdate event #3331

Merged

Conversation

KrzysztofMoch
Copy link
Collaborator

Summary

Add onBandwidthUpdate event
backport of #1745

Test plan

  • example app should work

export type OnBandwidthUpdateData = Readonly<
| {
bitrate: number;
width: number;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here width?: number;

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But here i would like to leave it like this, it will be easier for user - if width is not null it means that height is also not null. Correct me if I am wrong

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, no problem, and yes you are right, if wifth is ull height is null also

KrzysztofMoch and others added 4 commits November 6, 2023 08:19
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
@freeboub
Copy link
Collaborator

freeboub commented Nov 6, 2023

1 small additional clean needed, sorry :)

@freeboub freeboub merged commit 9054db3 into TheWidlarzGroup:master Nov 8, 2023
1 check passed
@freeboub
Copy link
Collaborator

freeboub commented Nov 8, 2023

merged for alpha.10 ticket: #1726

@KrzysztofMoch KrzysztofMoch deleted the feat/ios-on-bandwidth-change branch November 17, 2023 07:20
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.

None yet

2 participants