Skip to content

Commit

Permalink
Re-run prettier after dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Aug 1, 2024
1 parent 2b38622 commit 336dbd9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ module.exports = {
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "all",
args: "all",
argsIgnorePattern: "^_",
caughtErrors: "none",
destructuredArrayIgnorePattern: "^_",
Expand Down
15 changes: 5 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

### Bug fixes

- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443,
#1440]
- DASH: support absolute path in URL resolution with RFC 3986 implementation [#1443, #1440]
- DASH: fix cases of blinking subtitles [#1416, #1424]
- Fix precision issues of the `maxVideoBufferSize` API [#1421]
- DASH: Prevent multiple loading of the same segment for some DASH low-latency contents
Expand All @@ -23,8 +22,7 @@
- MULTI_THREAD: Perform several actions so that our `MULTI_THREAD` experimental feature
now works on older browser and on the Playstation 4 [#1401, #1402]
- Directfile/Compat: On safari on iOS no longer stay stuck in buffering when `autoPlay` is
set to `false` or not set and the video element has the attribute "playsinline" [#1408,
#1390]
set to `false` or not set and the video element has the attribute "playsinline" [#1408, #1390]
- Directfile/compat: On safari mobile in directfile mode, do not stay in an infinite
`LOADING` state if the `duration` is set to `NaN` (rare issue in a normally-unsupported
multiple RxPlayer-per-media-element scenario) [#1393]
Expand Down Expand Up @@ -663,8 +661,7 @@
- TypeScript: Add IBitrateEstimate, IPositionUpdate and IPlayerState types to the exported
types [#1084]
- Remove dependency on pinkie's promise ponyfill [#1058, #1090]
- tests: add performance tests, to better catch and avoid performance regressions [#1053,
#1062]
- tests: add performance tests, to better catch and avoid performance regressions [#1053, #1062]
- DRM: Refactor DRM logic for better maintainability. DRM-linked logs are now prefixed by
`DRM:` instead of `EME:` like previously [#1042]

Expand Down Expand Up @@ -808,17 +805,15 @@
- Update used RxJS version to 7.0.0, which might bring with it a smaller size and better
performances [#954]
- demo: remove Chart.js dependency (we found that its new API documentation and errors
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955,
#957]
were too impenetrable) and replace the "Buffer Size" chart by a homemade one. [#955, #957]

## v3.24.0 (2021-04-01)

### Features

- Add `inbandEvent` event for when an event is encountered in a media segment [#892]
- DRM: Add `singleLicensePer` `keySystems` option to be able to signal in advance that the
current content has a single license, even if it has multiple encryption keys [#863,
#904]
current content has a single license, even if it has multiple encryption keys [#863, #904]
- DRM: Add `keySystems[].licenseStorage.disableRetroCompatibility` boolean to unlock
optimizations when compatibility with EME sessions persisted in older RxPlayer versions
is not important [#919]
Expand Down
4 changes: 2 additions & 2 deletions demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"types": [],
"moduleResolution": "node",
"jsx": "react",
"typeRoots": ["../node_modules/@types"],
"typeRoots": ["../node_modules/@types"]
},
"include": ["../src/globals.prod.d.ts", "./scripts/**/*"],
"include": ["../src/globals.prod.d.ts", "./scripts/**/*"]
}
6 changes: 3 additions & 3 deletions src/main_thread/init/media_source_content_initializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ export default class MediaSourceContentInitializer extends ContentInitializer {
const lastObservation = coreObserver.getReference().getValue();
const position = lastObservation.position.isAwaitingFuturePosition()
? lastObservation.position.getWanted()
: coreObserver.getCurrentTime() ?? lastObservation.position.getPolled();
: (coreObserver.getCurrentTime() ?? lastObservation.position.getPolled());
const isPaused =
lastObservation.paused.pending ??
coreObserver.getIsPaused() ??
Expand All @@ -883,7 +883,7 @@ export default class MediaSourceContentInitializer extends ContentInitializer {
const lastObservation = coreObserver.getReference().getValue();
const position = lastObservation.position.isAwaitingFuturePosition()
? lastObservation.position.getWanted()
: coreObserver.getCurrentTime() ?? lastObservation.position.getPolled();
: (coreObserver.getCurrentTime() ?? lastObservation.position.getPolled());
// simple seek close to the current position
// to flush the buffers
if (position + 0.001 < lastObservation.duration) {
Expand Down Expand Up @@ -924,7 +924,7 @@ export default class MediaSourceContentInitializer extends ContentInitializer {
const lastObservation = coreObserver.getReference().getValue();
const currentPosition = lastObservation.position.isAwaitingFuturePosition()
? lastObservation.position.getWanted()
: coreObserver.getCurrentTime() ?? lastObservation.position.getPolled();
: (coreObserver.getCurrentTime() ?? lastObservation.position.getPolled());
const isPaused =
lastObservation.paused.pending ??
coreObserver.getIsPaused() ??
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"noUnusedLocals": true,
"moduleResolution": "node",
"module": "es6",
"typeRoots": ["./src/globals.prod.d.ts", "./node_modules/@types"],
"typeRoots": ["./src/globals.prod.d.ts", "./node_modules/@types"]
},
"include": ["./src/**/*.ts"],
"exclude": ["./src/**/*.test.ts", "./src/**/__tests__/**", "./src/globals.dev.d.ts"],
"exclude": ["./src/**/*.test.ts", "./src/**/__tests__/**", "./src/globals.dev.d.ts"]
}

0 comments on commit 336dbd9

Please sign in to comment.