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

fix(ios): ensure onBandwidthUpdate is reported only when value change #4149

Merged

Conversation

freeboub
Copy link
Collaborator

@freeboub freeboub commented Sep 5, 2024

Summary

while testing: #4146 on ios I saw the onBandwidthUpdate flooding app with the same value.

Motivation

do not report multiple time the same value with onBandwidthUpdate
complementary fix for: #4139

Changes

Just avoid reporting multiple times the same value

Test plan

can be tested with the sample

@freeboub
Copy link
Collaborator Author

freeboub commented Sep 6, 2024

@KrzysztofMoch any clue on this build issue ?
I think it is again cache problem, it would be great that you explain to me how to fix it (offline).
Thanks

Copy link
Member

@KrzysztofMoch KrzysztofMoch left a comment

Choose a reason for hiding this comment

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

Look fine for me

@freeboub freeboub merged commit 809a730 into TheWidlarzGroup:master Sep 6, 2024
6 checks passed
@anthonychemaly
Copy link

Please recheck the changes. OnBandwidthUpdate works on ios on mp4 file but is not working on HLS .m3u8
Kindly test on the file provided in the examples/basic:

https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master_928.m3u8

on mp4, it indeed returns a bitrate. however, onBandwidthUpdate always returns -1 on HLS files. Anything I'm missing here @freeboub @KrzysztofMoch

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.

[BUG]: onBandwidthUpdate not working on iOS
4 participants