Skip to content

v2.0.0-rc.33

Pre-release
Pre-release

Choose a tag to compare

@StoneyEagle StoneyEagle released this 16 Jul 17:53

Fixed

  • bandwidth() now returns the live estimate instead of permanently reporting 0. The getter read a _bandwidthEstimate cache field that nothing ever wrote, while bandwidthEstimator(fn) wrote a same-looking _bandwidthEstimator field that nothing ever read — the two names never met. The dead cache field is gone; bandwidth() resolves on every read, honoring a consumer's bandwidthEstimator() override first, else the backend's optional bandwidthEstimate?() capability. Return type and unit (bits per second) are unchanged — additive fix, no signature change.

Full changelog: https://github.com/NoMercy-Entertainment/nomercy-player-core/blob/master/CHANGELOG.md