Skip to content

Commit

Permalink
fix(abr): use Network Info API in ABR getBandwidthEstimate (#4263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Álvaro Velad Galván committed Jun 1, 2022
1 parent 5e107d5 commit 4fc7a48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/abr/simple_abr_manager.js
Expand Up @@ -219,8 +219,9 @@ shaka.abr.SimpleAbrManager = class {
* @export
*/
getBandwidthEstimate() {
const defaultBandwidthEstimate = this.getDefaultBandwidth_();
return this.bandwidthEstimator_.getBandwidthEstimate(
this.config_.defaultBandwidthEstimate);
defaultBandwidthEstimate);
}


Expand Down

0 comments on commit 4fc7a48

Please sign in to comment.