-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
fix(ios): ensure onBandwidthUpdate is reported only when value change #4149
Conversation
@KrzysztofMoch any clue on this build issue ? |
…o into fix/iosBandwidthUpdateFlood
…ct-native-video into fix/iosBandwidthUpdateFlood
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.
Look fine for me
Please recheck the changes. OnBandwidthUpdate works on ios on mp4 file but is not working on HLS .m3u8 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 |
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