Commit Graph

4 Commits

Author SHA1 Message Date
Joey Parrish fbbd63d96b test: Late load tests, fix Chromecast test flake (#4115)
This change fixes tests on Chromecast by loading tests later in the process.  Test scripts are now dynamically inserted by boot.js, rather than loaded by Karma.  The bootstrapping code then awaits the completion of that before starting the Karma frameworks (Jasmine) to run the tests.

This also removes the use of goog.provide/goog.require in tests and test utils.  We don't need to load test utils or library sources dynamically in each test, and this gives us more explicit control over script loading and ordering.

Closes #4094
2022-04-11 15:47:48 -07:00
Philippe f382cc702b feat: add option for segment-relative VTT timings (#4083)
This PR fixes #3242 where for some live streams using segmented VTT, text timings are relative to segment start instead of being absolute.

The PR introduces a new setting: `manifest.segmentRelativeVttTiming: boolean` allowing such alternative timing offset calculation.

The setting is off by default, preserving the current player behaviour.

Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
2022-04-01 09:39:11 -07:00
Michelle Zhuo 2371bd8591 fix: Fix build failures
1. Added hdr as a property in stream when constructing.
Fixes build failure from commit
71372869de .
PR #3116
Issue #2813

2. Fixed the test error from commit
d3640d1da1 .
PR #3044
Issue #3029

3. Fixed the new line with no other arguments from commit
0845843b65 .
PR #3060

Change-Id: I5833e49c1a95172742c4ec820960c9c5a7bf0cca
2021-02-02 14:02:12 -08:00
Álvaro Velad Galván 0845843b65 feat: Add SubStation Alpha (SSA) support (#3060)
Format info: https://en.wikipedia.org/wiki/SubStation_Alpha
2021-02-01 12:50:54 -08:00