Skip to content

Commit

Permalink
Feature/v5 abr refactoring (#4237)
Browse files Browse the repository at this point in the history
* WiP: Refactor ABR and throughput logic

* Fix unit tests

* Fix missing units when a request is aborted

* Fix abandon request rule

* Fix unit tests

* Add PRODUCER_REFERENCE_TIME to list of nodes that should be represented as arrays

* Fix bug in requesting fragments

* WiP: FetchLoader refactoring

* Fix low latency calculation

* Remove resource timing API for low latency fetch. No way to eliminate the idle times

* Add network API support

* Rename some constants

* Fix unit tests

* Add check for cached response using resource timing API

* Fix unit tests

* Fix unit tests

* Add additional unit test for fetch throughput

* Use export default for constants

* Add endpoint to get raw throughput data

* Move logic to manage active rules to ABRRulesCollection.js to get rid of the handling in RulesContext.js. Also define a single settings object to activate and deactivate all rules

* Add byte size weighted arithmetic and harmonic mean calculation

* Update definitions in Settings.js and the Typescript file

* Fix throughput reporting for content steering

* Add MPD throughput when querying by service location

* Rename stableBufferTime to bufferTimeDefault

* Refactor content steering throughput logic

* Add settings description

* Add setting for changing the EWMA weight factor

* bugfix/reset-race-conditions (#4246)

* fix: clear timeout on reset

* fix: add null check to prevent errors when _onRemove is called after reset

* Compare indices of mediaInfo objects when checking if a track change was rendered. This accounts for content that has no ID attribute for the AdaptationSets. (#4249)

* Add additional throughput calculation means and corresponding unit tests

* Fix bug in ThroughputController.js

* Remove offline sample for now as we working on a new UI. Adjust other samples based on new settings parameters.

* Adjust index.d.ts

* Fix wrong attribute in L2A rule (#4252)

* Fix error in ProtectionModel_21Jan2015.js when closing key session (#4253)

* Update index.d.ts

* Fix accessing undefined value in _closeKeySessionInternal

* Add ThroughputController to index.d.ts

* Updates to index.d.ts

* Fix linting errors

* Update index.d.ts
  • Loading branch information
dsilhavy authored Aug 8, 2023
1 parent 1d4bf59 commit 8937f8a
Show file tree
Hide file tree
Showing 130 changed files with 4,462 additions and 6,834 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
"strict": 0,
"no-loop-func": 0,
"no-multi-spaces": "error",
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"quotes": [
"error",
"single",
Expand Down
Loading

0 comments on commit 8937f8a

Please sign in to comment.