Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with upstream feature/v1.0.0 #246

Closed
wants to merge 167 commits into from

Conversation

robwalch
Copy link

@robwalch robwalch commented Sep 18, 2019

This PR will...

Sync LHLS branch with upstream v1.0.0 PR.

We have PR open upstream with branch feature/v1.0.0 against master:
video-dev#2370

Why is this Pull Request needed?

This is a working branch but more stable than LHLS. We should stay in sync with upstream for visibility (on both ends) into status of changes and issues.

The upstream work includes:

  • 0.13 changes and fixes from upstream
  • bug fix for live stream sync
  • lint and type-check fixes
  • unit test fixes
  • use npm instead of yarn

Are there any points in the code the reviewer needs to double check?

🚧Upstream changes remove "version" from package.json which will cause yarn errors. We will need to use npm for steps in our build process using hls.js to keep in sync with upstream project. yarn will not add a project using a git url if the package.json is technically invalid.

Resolves issues:

JW8-10570

itsjamie and others added 30 commits February 2, 2019 08:45
Per feedback from John, the further defined response type caused issue in callers.
…rack.len (#2096)

* mp4-remuxer / remuxAudio() : dont rely on track.len to compute mdatSize

recompute it by looping through all samples and summing their individual size

get rid of track.len as it should now be useless

related to #2063
* Playlist-loader rename.

* Playlist Loader conversion to TypeScript.

* Change responseType to string

* Typo fix for destory -> destroy.

* Change networkDetails type to "unknown".
* Start and stop subtitle loading in sync with startLoad()/stopLoad() API calls
* Compute sliding & merge subtitle playlists during live playback
* Fix shared references between subtitle-track-controller and subtitle-stream-controller
* Refactoring:
     * Extend subtitle-stream-controller from base-stream-controller
     * Move more shared logic into base-stream-controller
     * Move live reload interval calculation into a shared function & import into subtitle-track-controller
    * Remove the trackId from subtitle fragments, and refer to them by their level property
    * Several other minor refactorings (flipped conditionals, destructuring args, organizing functions)
* Add a bunch of unit tests
Fix XSS issue on metrics page reported in #2161.
stream-controller: remove inaccurate comment
which includes fix for issue with create-react-app

fixes #2064
…mically (#1986)

* Adding the ability for CapLevelController to be enabled/disabled dynamically.

* Updating API docs to include capLevelToPlayerSize as getter/setter.

* Updated documentation to further clarify capLevelToPlayerSize

* Added test to ensure stop capping called when cap level controller destroyed.

* Added test that nextLevelSwitch is called when we stop capping.
File name fix `event-handler.js` to `event-handler.ts`
Adds typing to the default HlsConfig.

Additionally provides controller-based config types to use for type narrowing controller configuration to its own subset of configuration properties from the exposed public interface.

Added Webpack DefinePlugin constants in their own declaration file to be used in other files as well.

A test stream from #1909 started to 404, reached out to author of issue to see if we could move this stream somewhere for continued use.

Esdoc plugin was required so that documentation could continue to be produced. The AST parser took issue with the object rest spreading.
@robwalch robwalch added this to the 8.11.0 milestone Sep 18, 2019
@robwalch robwalch changed the title Feature/v1.0.0 Sync with upstream feature/v1.0.0 Sep 18, 2019
@jwplayer-robot
Copy link

jwplayer-robot commented Sep 18, 2019

Build for commit 877db20 did not complete.
🏗️ jwplayer/hls.js build 322 SUCCESS
🏗️ jwplayer-commercial build 23634 FAILURE

yarn add fails for commits where package.json does not include "version":

Error: Error: Command failed: yarn add hls.js@git+ssh://git@github.com/jwplayer/hls.js.git#877db20e0145732c2ed8e46e76b5aa05271b8965
error Couldn't find match for "877db20e0145732c2ed8e46e76b5aa05271b8965" in 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet