Skip to content

Commit

Permalink
chore: Prepare for worker split (#33)
Browse files Browse the repository at this point in the history
* chore: re-export all types

* chore: add worker utils

* chore: always use lower case for mime type

* chore: add initial mise-in-workers doc

* chore: update mse-in-workers doc

* chore: update hls-parser

* chore: add sessionId to the key system config

* chore: add pipeline loader factory storage

* chore: add base player, add split for main and worker threads

* chore: update mse-in-workers arch

* chore: fix hls-parser tests

* chore: remove worker utils

* chore: remove version API

* chore: initial worker message channel impl

* feat: move env-capabilities to a separate package

* chore: add default config for worker

* chore: fix test and lint issues

---------

Co-authored-by: Dzianis Dashkevich <ddashkevich@brightcove.com>
  • Loading branch information
dzianis-dashkevich and Dzianis Dashkevich authored Oct 24, 2024
1 parent fa54860 commit 1fd5933
Show file tree
Hide file tree
Showing 78 changed files with 3,413 additions and 2,381 deletions.
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ body:
options:
- @videojs/playback
- @videojs/hls-parser
- @videos/dash-parser
- @videojs/dash-parser
- @videojs/env-capabilities
- videojs.dev
default: 0
validations:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,18 @@ jobs:
name: dash-parser-coverage
fail_ci_if_error: true

# upload @videojs/env-capabilities test coverage to codecov
- name: Upload env-capabilities Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: env-capabilities
files: ./packages/env-capabilities/coverage/coverage-final.json
name: env-capabilities-coverage
fail_ci_if_error: true

# upload @videojs/playback test coverage to codecov
- name: Upload Player Coverage
- name: Upload Playback Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/preview-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
message += '### Api Reference \n'
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/dash-parser \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/hls-parser \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/env-capabilities \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/playback \n`
message += '### Demo \n'
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/dash-parser \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/hls-parser \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/env-capabilities \n`
message += `- https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/playback \n`
github.rest.issues.createComment({
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
files: |
packages/dash-parser/videojs-dash-parser-*.tgz
packages/hls-parser/videojs-hls-parser-*.tgz
packages/env-capabilities/videojs-env-capabilities-*.tgz
packages/playback/videojs-playback-*.tgz
# Deploy IIFE bundles to CDN (TBD)
1 change: 1 addition & 0 deletions cli/generate-release-info-latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Please, check the changelog in the root of the project.
${createEntryForPackage(version, '@videojs/hls-parser')}
${createEntryForPackage(version, '@videojs/dash-parser')}
${createEntryForPackage(version, '@videojs/env-capabilities')}
${createEntryForPackage(version, '@videojs/playback')}
`;
};
Expand Down
2 changes: 1 addition & 1 deletion cli/prepare-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mkdir('deploy', () => {
}
});

['dash-parser', 'hls-parser', 'playback'].forEach((packageName) => {
['dash-parser', 'hls-parser', 'playback', 'env-capabilities'].forEach((packageName) => {
copyFromPackage(packageName, 'api-reference');
copyFromPackage(packageName, 'demo');
});
Expand Down
Loading

0 comments on commit 1fd5933

Please sign in to comment.