Releases: bbc/bigscreen-player
9.0.2: fix(imsc): subtitle startup race condition (#371)
๐บ What
Fixes a race condition between imscstrategy and the player.
๐ How
Don't accept zero as an valid time. Drawback is subtitles load later (after the stream instead of in parallel). A more robust solution could compare the calculated segment number with the segment start number in the manifest.
9.0.1: BADGERS-245: Hack the BigscreenPlayer mock (#370)
๐บ What
"Fix" (read: hack) the BigscreenPlayer mock so it doesn't throw TypeError
etc. The time API is not fixed so the mock is still broken. This carries us through until we can decomission all downstream tests that use the mock.
๐ How
Add new functions. Keep around old functions as "compatibility functions"
9.0.0: BADGERS-245: [BREAKING] Remove windowType metadata (#364)
๐บ What
Remove BigscreenPlayer's reliance on windowType
metadata. We've chosen to change the time representation for BigscreenPlayer with this change.
๐ How
- Replace "video time" with providing the "presentation time" from the media element. Provide conversion functions to availability and media sample times.
- Add
TimeShiftDetector
to detect a sliding seekable range and activate auto-resume - Converted
MediaSources
to TypeScript
8.10.3: Revert "Stash before running prepush hook tests" (#369)
Reverts #368 due to issues with Git stashing
8.10.2: Stash before running prepush hook tests (#368)
๐บ What
Runs git stash push -qu
before the prepush hook tests and runs git stash pop -q
after them. This allows for unstaged in development tests to be present without having to pass whilst still verifying what is being pushed. Prevents potentially running --no-verify
or similar to just get something pushed.
๐ How
Source Control
โ
Testing
Tested by changing a test to fail (expect(true).toBe(false)
) and not staging it whilst pushing this change - test was not included in index and did not affect prepush hook checks.
8.10.1: BADGERS-572 Add Missing Mocks for mockbigscreenplayer (#367)
๐บ What
Adds missing mocks for mockbigscreenplayer.js
that were missed in #366.
๐ How
Adds missing mocks.
8.10.0: MSE BroadcastMixAD Support (#366)
๐บ What
Makes BroadcastMixAD available for MSE devices.
๐ How
- Adds a set of new APIs that check for the availability, whether its enabled and ability to turn it on or off.
- Adds the ability to turn BroadcastMixAD on by default (if the track exists).
- Availability is determined from the audio properties in the manifest. Accessibility schema and the alternate role.
- Use dash.js to change the tracks between BroadcastMixAD and main audio.
- Adds unit tests.
8.9.1: BADGERS-427 Abort Retrieve Manifest When Calling Reset (#358)
๐บ What
Abort retrieve manifest requests when calling reset.
See: bbc/dash.js#94
๐ How
Call reset()
on the manifest loader inside dash.js
8.9.0: Docs update - Add resetMSEPlayer override setting (#359)
๐บ What
Add resetMSEPlayer
override setting to the docs
๐ How
Update the markdown
8.8.0: Plugin for `onQualityChangeRequested` (#356)
๐บ What
Expose the DashJS onQualityChangeRequested
Event via the Plugin System, also includes average Throughput
๐ How
mediaPlayer.on(DashJSEvents.QUALITY_CHANGE_REQUESTED, ...)