active-switching
Version:
NPAW's SDK for CDN Balancing and P2P
171 lines (90 loc) • 3.3 kB
Markdown
## [0.2.0] - 2022-06-28
## [0.1.16] - 2022-06-28
### Fixed
- Download data metrics issues for original CDN as a fallback
- Check for wrong timestamps when calculating P2P download time
## [0.1.15] - 2022-06-28
### Fixed
- Manual CDN disable mechanism for CDNPriority switching method
## [0.1.14] - 2022-06-22
### Fixed
- Wrong 404 response format reception to avoid player crash
- Improved performance of fallback/retry mechanism
## [0.1.13] - 2022-06-22
### Added
- `orresource` parameter when using stream booster
- `loader` can now manage load failures and report them to the player
- Request time logic to improve compatibility with `hls.js` v0.x adaptive bitrate
- Improved peer data transfer
- Changed score system for qualityPriority balancing method
- Limit bandwidth values for cdnPriority balancing method
- Use of the original resource if is not in the API response as a fallback
- Package version reported in `CdnBalancerStats`
### Fixed
- P2P minor issues
## [0.1.12] - 2022-06-10
### Fixed
- Wrong behaviour with `qualityPriority` balancing
## [0.1.11] - 2022-06-10
### Added
- `fullName` parameter with CDN name for analytics data
- Also added `timeoutRequests` `conectedPeers` `timeoutDiscaredBytes` `segmentAbsentRequests` `errorRequests` `downloadMillis` `bytesUploadedDiscarded` `discardedUploadedChunks to peer metrics
- Capability to cancel a P2P request, sending a cancel message saving some bandwidth
- Manifest parser to extract parameters, starting with `segmentDuration` for dash and hls when available
- Balancing methods: `cdnPriority` and `qualityPriority`. Deprecating the old ones
- Dependencies update
- Use of API `p2pProbability` and `maxParallelP2PDownloads` parameter
- Limited the number of stored segments to 60, still managed by API response
### Replaced
- Demo settings for internal demo account, controlled by domain instead
## [0.1.10] - 2022-05-27
### Added
- Misc fixes for peer connection
## [0.1.9] - 2022-05-26
### Added
- Optimized P2P connection
- CDN download time metric reporting
## [0.1.8] - 2022-05-26
### Added
- Inrcreased P2P request probability
## [0.1.7] - 2022-05-26
### Added
- Enabled P2P for partially downloaded chunks
## [0.1.6] - 2022-04-21
### Added
- Different host for development and demo purposes
## [0.1.5] - 2022-04-21
### Added
- `disable` and `enable` methods for shaka loader
### Removed
- Unnecesary use of `extends` Emitter for some classes
## [0.1.4] - 2022-03-08
### Improved
- Performance of segment storage
## [0.1.3] - 2022-02-25
### Added
- Updated P2P lib dependency solving some issues
## [0.1.2] - 2022-02-16
### Added
- Updated dependencies
- Unit tests, fixing some potential issues
- `getRecommendedManifest` method
### Removed
- ES5 support
- Use of deprecated methods for Buffer
## [0.1.1] - 2022-02-09
### Added
- Replaced P2P dependency, now using own one
- Support to CDNs with the content in different routes
- New API design
## [0.1.0] - 2021-12-02
### Changed
- Constructor now expects a config object, not a list of parameters
### Removed
- Unused polyfills
### Added
- Option to sent the hash of the content
- More testing, type descriptions and documentation improvements
## [0.0.1] - 2021-10-13
### Added
- First release