shaka-player 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release-please.yaml +21 -13
- package/.github/workflows/report-incremental-coverage.yaml +2 -2
- package/.github/workflows/shaka-bot-commands/command-help.sh +27 -0
- package/.github/workflows/shaka-bot-commands/command-test.sh +56 -0
- package/.github/workflows/shaka-bot-commands/lib.sh +83 -0
- package/.github/workflows/shaka-bot-commands/main.sh +51 -0
- package/.github/workflows/talk-to-shaka-bot.yaml +29 -0
- package/.github/workflows/update-issues.yaml +2 -1
- package/.github/workflows/validate-pr-title.yaml +3 -11
- package/CHANGELOG.md +13 -0
- package/dist/deps.js +1 -1
- package/dist/locales.js +32 -32
- package/dist/shaka-player.compiled.d.ts +297 -297
- package/dist/shaka-player.compiled.debug.d.ts +297 -297
- package/dist/shaka-player.compiled.debug.externs.js +1 -1
- package/dist/shaka-player.compiled.debug.js +221 -222
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +1 -1
- package/dist/shaka-player.compiled.js +947 -946
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +341 -341
- package/dist/shaka-player.ui.debug.d.ts +341 -341
- package/dist/shaka-player.ui.debug.externs.js +1 -1
- package/dist/shaka-player.ui.debug.js +282 -283
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +1 -1
- package/dist/shaka-player.ui.js +566 -564
- package/dist/shaka-player.ui.map +3 -3
- package/externs/shaka/namespace.js +2 -2
- package/externs/shaka/transmuxer.js +2 -1
- package/lib/hls/hls_parser.js +1 -0
- package/lib/media/media_source_engine.js +22 -2
- package/lib/mss/mss_parser.js +1 -0
- package/lib/player.js +1 -1
- package/lib/text/simple_text_displayer.js +0 -1
- package/lib/transmuxer/aac_transmuxer.js +1 -1
- package/lib/transmuxer/ac3_transmuxer.js +1 -0
- package/lib/transmuxer/ec3_transmuxer.js +1 -0
- package/lib/transmuxer/mp3_transmuxer.js +1 -0
- package/lib/transmuxer/ts_transmuxer.js +54 -71
- package/lib/util/mp4_generator.js +27 -20
- package/lib/util/ts_parser.js +73 -110
- package/package.json +1 -1
- package/test/hls/hls_parser_unit.js +12 -13
- package/test/media/media_source_engine_integration.js +2 -2
- package/test/mss/mss_player_integration.js +1 -1
|
@@ -17,21 +17,22 @@ jobs:
|
|
|
17
17
|
- uses: google-github-actions/release-please-action@v3
|
|
18
18
|
id: release
|
|
19
19
|
with:
|
|
20
|
-
# This command instructs the tool to use the config and manifest
|
|
21
|
-
# files below to decide the next version and the SHA of the previous
|
|
22
|
-
# release (used to compute the changelog). This is necessary if
|
|
23
|
-
# there are more than 250 commits between main branch releases.
|
|
24
|
-
command: manifest
|
|
25
|
-
config-file: .release-please-config.json
|
|
26
|
-
manifest-file: .release-please-manifest.json
|
|
27
20
|
# Required input to specify the release type (node package).
|
|
28
21
|
release-type: node
|
|
29
22
|
# Make sure we create the PR against the correct branch.
|
|
30
23
|
default-branch: ${{ github.ref_name }}
|
|
24
|
+
# Use a special shaka-bot access token for releases.
|
|
25
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
31
26
|
|
|
32
27
|
# If we didn't create a release, we may have created or updated a PR.
|
|
28
|
+
# Check out the code, then update the Player version in the PR.
|
|
33
29
|
- uses: actions/checkout@v3
|
|
34
30
|
if: steps.release.outputs.release_created == false
|
|
31
|
+
with:
|
|
32
|
+
# Checkout the fork, where the PR is generated from.
|
|
33
|
+
repository: shaka-bot/${{ github.event.repository.name }}
|
|
34
|
+
# Use a special shaka-bot access token for releases.
|
|
35
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
35
36
|
- name: Custom update Player version
|
|
36
37
|
if: steps.release.outputs.release_created == false
|
|
37
38
|
run: |
|
|
@@ -45,9 +46,9 @@ jobs:
|
|
|
45
46
|
sed -e "s/^\\(shaka.Player.version =\\).*/\\1 '$VERSION';/" \
|
|
46
47
|
-i lib/player.js
|
|
47
48
|
git add lib/player.js
|
|
48
|
-
#
|
|
49
|
-
git config user.name "
|
|
50
|
-
git config user.email "
|
|
49
|
+
# Set missing git config for the commit.
|
|
50
|
+
git config user.name "shaka-bot"
|
|
51
|
+
git config user.email "shaka-bot@users.noreply.github.com"
|
|
51
52
|
# Update the PR.
|
|
52
53
|
git commit --amend --no-edit
|
|
53
54
|
git push -f
|
|
@@ -62,12 +63,17 @@ jobs:
|
|
|
62
63
|
steps:
|
|
63
64
|
- uses: actions/checkout@v3
|
|
64
65
|
with:
|
|
66
|
+
# Check out the origin repo, not the fork, and do it at main, not the
|
|
67
|
+
# PR branch.
|
|
65
68
|
ref: main
|
|
69
|
+
# Use a special shaka-bot access token for releases.
|
|
70
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
66
71
|
- name: Tag the main branch
|
|
67
72
|
run: |
|
|
68
|
-
#
|
|
69
|
-
git config user.name "
|
|
70
|
-
git config user.email "
|
|
73
|
+
# Set missing git config for the tag.
|
|
74
|
+
git config user.name "shaka-bot"
|
|
75
|
+
git config user.email "shaka-bot@users.noreply.github.com"
|
|
76
|
+
# Tag the main branch.
|
|
71
77
|
VERSION=${{ needs.release.outputs.tag_name }}
|
|
72
78
|
git tag -m "$VERSION-main" "$VERSION-main"
|
|
73
79
|
git push origin "$VERSION-main"
|
|
@@ -162,6 +168,8 @@ jobs:
|
|
|
162
168
|
- uses: actions/checkout@v3
|
|
163
169
|
with:
|
|
164
170
|
fetch-depth: 0
|
|
171
|
+
# Use a special shaka-bot access token for releases.
|
|
172
|
+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
165
173
|
|
|
166
174
|
- name: Create release branch
|
|
167
175
|
run: |
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
id: compute
|
|
22
22
|
shell: bash
|
|
23
23
|
env:
|
|
24
|
-
GITHUB_TOKEN: ${{ secrets.
|
|
24
|
+
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN }}
|
|
25
25
|
# Fetches the coverage data from the run that triggered the report,
|
|
26
26
|
# parses it, compares it to the changed lines in the PR, and computes
|
|
27
27
|
# the incremental code coverage.
|
|
@@ -36,4 +36,4 @@ jobs:
|
|
|
36
36
|
message: "Incremental code coverage: ${{ steps.compute.outputs.coverage }}"
|
|
37
37
|
comment_includes: "Incremental code coverage: "
|
|
38
38
|
pr_number: ${{ steps.compute.outputs.pr_number }}
|
|
39
|
-
GITHUB_TOKEN: ${{ secrets.
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN }}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Copyright 2022 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# The help command implementation.
|
|
16
|
+
# Assumes that lib.sh has been loaded and all required variables are set.
|
|
17
|
+
|
|
18
|
+
# Using single quotes to avoid executing the things in backticks, which are
|
|
19
|
+
# really markdown.
|
|
20
|
+
(
|
|
21
|
+
echo 'I honor the following commands from anyone:'
|
|
22
|
+
echo ' - `@shaka-bot help`: Show this help message'
|
|
23
|
+
echo ''
|
|
24
|
+
echo 'I honor the following commands from maintainers only:'
|
|
25
|
+
echo ' - `@shaka-bot test`: Start lab tests on all devices'
|
|
26
|
+
echo ' - `@shaka-bot test ce`: Start lab tests on CE devices only (no desktop browsers)'
|
|
27
|
+
) | reply_from_pipe
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Copyright 2022 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# The test command implementation.
|
|
16
|
+
# Assumes that lib.sh has been loaded and all required variables are set.
|
|
17
|
+
|
|
18
|
+
if ! check_permissions; then
|
|
19
|
+
reply "Only maintainers may start lab tests."
|
|
20
|
+
exit 0
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
# These are passed to the lab testing workflow.
|
|
24
|
+
WORKFLOW_ARGS=( "pr=$PR_NUMBER" )
|
|
25
|
+
|
|
26
|
+
case "${SHAKA_BOT_ARGUMENTS[0]}" in
|
|
27
|
+
# CE devices only.
|
|
28
|
+
ce) WORKFLOW_ARGS+=( "browser_filter=Tizen Chromecast ChromeAndroid" ) ;;
|
|
29
|
+
|
|
30
|
+
# No command argument, no extra workflow arguments.
|
|
31
|
+
"") ;;
|
|
32
|
+
|
|
33
|
+
*)
|
|
34
|
+
reply "Unrecognized test argument: ${SHAKA_BOT_ARGUMENTS[0]}"
|
|
35
|
+
exit 1
|
|
36
|
+
;;
|
|
37
|
+
esac
|
|
38
|
+
|
|
39
|
+
if start_workflow selenium-lab-tests.yaml "${WORKFLOW_ARGS[@]}"; then
|
|
40
|
+
(
|
|
41
|
+
echo "Lab tests started with arguments:"
|
|
42
|
+
for arg in "${WORKFLOW_ARGS[@]}"; do
|
|
43
|
+
echo " - \`$arg\`"
|
|
44
|
+
done
|
|
45
|
+
) | reply_from_pipe
|
|
46
|
+
else
|
|
47
|
+
(
|
|
48
|
+
echo "I failed to start the lab test workflow."
|
|
49
|
+
echo ""
|
|
50
|
+
echo "Please check GitHub Actions logs for details."
|
|
51
|
+
) | reply_from_pipe
|
|
52
|
+
|
|
53
|
+
# Fail this workflow to make it easier to find the right run
|
|
54
|
+
# and its logs.
|
|
55
|
+
exit 1
|
|
56
|
+
fi
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Copyright 2022 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# Utilities for handling @shaka-bot commands.
|
|
16
|
+
|
|
17
|
+
# Ignore case in all string comparisons.
|
|
18
|
+
shopt -s nocasematch
|
|
19
|
+
|
|
20
|
+
function check_required_variable() {
|
|
21
|
+
local VAR_NAME="$1"
|
|
22
|
+
|
|
23
|
+
# The ! syntax here is Bash variable indirection.
|
|
24
|
+
if [[ -z "${!VAR_NAME}" ]]; then
|
|
25
|
+
echo "Missing environment variable: $VAR_NAME"
|
|
26
|
+
exit 1
|
|
27
|
+
fi
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
# Leaving a comment requires a token with "repo" scope.
|
|
31
|
+
function reply() {
|
|
32
|
+
echo "@$COMMENTER: $@" | \
|
|
33
|
+
gh issue comment "$PR_NUMBER" -R "$THIS_REPO" -F -
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
# Leaving a comment requires a token with "repo" scope.
|
|
37
|
+
function reply_from_pipe() {
|
|
38
|
+
(echo -n "@$COMMENTER: "; cat /dev/stdin) | \
|
|
39
|
+
gh issue comment "$PR_NUMBER" -R "$THIS_REPO" -F -
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
# Checking permissions requires a token with "repo" and "org:read" scopes, and
|
|
43
|
+
# write access.
|
|
44
|
+
function check_permissions() {
|
|
45
|
+
# Check permissions: this API call fails if the commenter has no special
|
|
46
|
+
# permissions on the repo.
|
|
47
|
+
gh api "/repos/$THIS_REPO/collaborators/$COMMENTER"
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
# Starting a workflow requires a token with "repo" scope and write access.
|
|
51
|
+
# $1 is the workflow filename. Subsequent arguments are key=value pairs to be
|
|
52
|
+
# passed as input to the workflow_dispatch event.
|
|
53
|
+
function start_workflow() {
|
|
54
|
+
local WORKFLOW="$1"
|
|
55
|
+
shift
|
|
56
|
+
|
|
57
|
+
# The gh command wants -f before each key-value pair. The caller shouldn't
|
|
58
|
+
# have to know that, so we rebuild the argument array with -f here.
|
|
59
|
+
local GH_ARGS=()
|
|
60
|
+
for arg in "$@"; do
|
|
61
|
+
GH_ARGS+=( "-f" "$arg" )
|
|
62
|
+
done
|
|
63
|
+
|
|
64
|
+
gh workflow run "$WORKFLOW" -R "$THIS_REPO" "${GH_ARGS[@]}"
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
# Outputs to global variables SHAKA_BOT_COMMAND and SHAKA_BOT_ARGUMENTS (array).
|
|
68
|
+
function parse_command() {
|
|
69
|
+
# Tokenize the comment by whitespace.
|
|
70
|
+
local TOKENS=( $COMMENT_BODY )
|
|
71
|
+
|
|
72
|
+
local INDEX
|
|
73
|
+
for (( INDEX=0; INDEX < ${#TOKENS[@]}; INDEX++ )); do
|
|
74
|
+
if [[ "${TOKENS[i]}" == "@shaka-bot" ]]; then
|
|
75
|
+
SHAKA_BOT_COMMAND="${TOKENS[i+1]}"
|
|
76
|
+
# A slice of all tokens starting with index i+2.
|
|
77
|
+
SHAKA_BOT_ARGUMENTS=( "${TOKENS[@]:i+2}" )
|
|
78
|
+
return 0
|
|
79
|
+
fi
|
|
80
|
+
done
|
|
81
|
+
|
|
82
|
+
return 1
|
|
83
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Copyright 2022 Google LLC
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# Handle @shaka-bot commands commented on PRs.
|
|
16
|
+
|
|
17
|
+
# Run everything from the folder in which this script lives.
|
|
18
|
+
cd "$(dirname "$0")"
|
|
19
|
+
|
|
20
|
+
# Load utils.
|
|
21
|
+
. lib.sh
|
|
22
|
+
|
|
23
|
+
# Check required environment variables passed from the workflow.
|
|
24
|
+
# If running this manually while testing changes, supply these.
|
|
25
|
+
check_required_variable GH_TOKEN # With repo & org:read scope, write access
|
|
26
|
+
check_required_variable THIS_REPO # like shaka-project/shaka-player
|
|
27
|
+
check_required_variable COMMENTER # like joeyparrish
|
|
28
|
+
check_required_variable PR_NUMBER # like 1234
|
|
29
|
+
check_required_variable COMMENT_BODY # like "@shaka-bot howdy"
|
|
30
|
+
|
|
31
|
+
if [[ "$COMMENTER" == "shaka-bot" ]]; then
|
|
32
|
+
# Exclude comments by shaka-bot, who will sometimes use its own name.
|
|
33
|
+
exit 0
|
|
34
|
+
fi
|
|
35
|
+
|
|
36
|
+
# Parse the command. Outputs to globals SHAKA_BOT_COMMAND and
|
|
37
|
+
# SHAKA_BOT_ARGUMENTS (array).
|
|
38
|
+
parse_command
|
|
39
|
+
|
|
40
|
+
if [[ "$SHAKA_BOT_COMMAND" == "" ]]; then
|
|
41
|
+
# No command found.
|
|
42
|
+
exit 0
|
|
43
|
+
fi
|
|
44
|
+
|
|
45
|
+
echo "PR $PR_NUMBER, detected command $SHAKA_BOT_COMMAND"
|
|
46
|
+
|
|
47
|
+
case "$SHAKA_BOT_COMMAND" in
|
|
48
|
+
help) . command-help.sh ;;
|
|
49
|
+
test) . command-test.sh ;;
|
|
50
|
+
*) echo "Unknown command!" ;;
|
|
51
|
+
esac
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Talk to Shaka Bot (PRs)
|
|
2
|
+
|
|
3
|
+
# Runs when comments are created or edited. Jobs below will be filtered to
|
|
4
|
+
# only run on PRs, not regular issues.
|
|
5
|
+
on:
|
|
6
|
+
issue_comment:
|
|
7
|
+
types: [created, edited]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
handle_command:
|
|
11
|
+
# Only runs on PRs that contain '@shaka-bot' comments, but not comments
|
|
12
|
+
# made by shaka-bot itself, who will sometimes use its own name.
|
|
13
|
+
# Note that contains() is not case sensitive.
|
|
14
|
+
if: github.event.issue.pull_request && contains(github.event.comment.body, '@shaka-bot') && github.event.comment.user.login != 'shaka-bot'
|
|
15
|
+
runs-on: [ubuntu-latest]
|
|
16
|
+
env:
|
|
17
|
+
# This token must have "repo" scope, "org:read" scope, and write access.
|
|
18
|
+
GH_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN }}
|
|
19
|
+
THIS_REPO: ${{ github.repository }}
|
|
20
|
+
COMMENTER: ${{ github.event.comment.user.login }}
|
|
21
|
+
PR_NUMBER: ${{ github.event.issue.number }}
|
|
22
|
+
COMMENT_BODY: ${{ github.event.comment.body }}
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout code
|
|
25
|
+
uses: actions/checkout@v3
|
|
26
|
+
|
|
27
|
+
- name: Handle command
|
|
28
|
+
shell: bash
|
|
29
|
+
run: .github/workflows/shaka-bot-commands/main.sh
|
|
@@ -23,7 +23,8 @@ jobs:
|
|
|
23
23
|
|
|
24
24
|
- name: Update Issues
|
|
25
25
|
env:
|
|
26
|
-
|
|
26
|
+
# Use SHAKA_BOT_TOKEN if found, otherwise the default GITHUB_TOKEN.
|
|
27
|
+
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
|
|
27
28
|
run: |
|
|
28
29
|
cd update-issues
|
|
29
30
|
npm ci
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
name: Validate PR Title
|
|
2
2
|
|
|
3
|
-
# We recommend that maintainers use this Chrome/Firefox extension so that
|
|
4
|
-
# squashed PRs will have the merged commit message default to the PR title and
|
|
5
|
-
# description: https://github.com/zachwhaley/squashed-merge-message
|
|
6
|
-
#
|
|
7
|
-
# This avoids the need to amend commits after the fact to match the desired PR
|
|
8
|
-
# syntax. As long as the PR itself is properly-formatted, this extension will
|
|
9
|
-
# help you commit the right format to the repo, too. This, in turn, feeds the
|
|
10
|
-
# changelog and release workflows.
|
|
11
|
-
|
|
12
3
|
on:
|
|
13
4
|
# NOTE: The automated PRs from release-please-action do not seem to trigger
|
|
14
5
|
# any of the default PR triggers (opened, synchronize, reopened). So we need
|
|
15
6
|
# additional types. This is a good set that makes it easy to trigger the
|
|
16
|
-
# workflow manually if needed.
|
|
7
|
+
# workflow manually if needed. This is not neccessary if your release-please
|
|
8
|
+
# workflow uses a personal access token (PAT) from Shaka Bot.
|
|
17
9
|
pull_request_target:
|
|
18
10
|
types:
|
|
19
11
|
- opened
|
|
@@ -30,6 +22,6 @@ jobs:
|
|
|
30
22
|
name: Validate PR Title
|
|
31
23
|
runs-on: ubuntu-latest
|
|
32
24
|
steps:
|
|
33
|
-
- uses: amannn/action-semantic-pull-request@
|
|
25
|
+
- uses: amannn/action-semantic-pull-request@v5
|
|
34
26
|
env:
|
|
35
27
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.4.1](https://github.com/shaka-project/shaka-player/compare/v4.4.0...v4.4.1) (2023-09-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Fix MediaSourceEngine reset operation ([#5576](https://github.com/shaka-project/shaka-player/issues/5576)) ([8c66b7a](https://github.com/shaka-project/shaka-player/commit/8c66b7a061b044b1e1569fbcf18c094465b94466))
|
|
9
|
+
* Fix Mp4Generator ([#5566](https://github.com/shaka-project/shaka-player/issues/5566)) ([a20f1db](https://github.com/shaka-project/shaka-player/commit/a20f1db194539d43e6851f54f28378c33f98d1d5))
|
|
10
|
+
* Fix PES parsing ([#5559](https://github.com/shaka-project/shaka-player/issues/5559)) ([58e6627](https://github.com/shaka-project/shaka-player/commit/58e6627c5c56057d186823f07f364805d3c26b20))
|
|
11
|
+
* Fix TS transmuxer when the main content is muxed ([#5575](https://github.com/shaka-project/shaka-player/issues/5575)) ([0831b97](https://github.com/shaka-project/shaka-player/commit/0831b979f076b773f8eecb42e72c45bdabbf878b))
|
|
12
|
+
* **HLS:** Allow audio groups on audio-only content ([#5578](https://github.com/shaka-project/shaka-player/issues/5578)) ([17e4ef2](https://github.com/shaka-project/shaka-player/commit/17e4ef25c0f069002c6777e77569cbf90d538449))
|
|
13
|
+
* Prevent codecs override in the transmuxer ([#5568](https://github.com/shaka-project/shaka-player/issues/5568)) ([1286fec](https://github.com/shaka-project/shaka-player/commit/1286fec03da968d71b8f0590421c0d0a39e98d06))
|
|
14
|
+
* Remove debugging code on Simple Text ([#5582](https://github.com/shaka-project/shaka-player/issues/5582)) ([19be642](https://github.com/shaka-project/shaka-player/commit/19be6423ea5366b887d0cf89900d92bfbd573ce5))
|
|
15
|
+
|
|
3
16
|
## [4.4.0](https://github.com/shaka-project/shaka-player/compare/v4.4.0...v4.4.0) (2023-08-30)
|
|
4
17
|
|
|
5
18
|
|
package/dist/deps.js
CHANGED
|
@@ -212,7 +212,7 @@ goog.addDependency('../../../../lib/util/string_utils.js', ['shaka.util.StringUt
|
|
|
212
212
|
goog.addDependency('../../../../lib/util/switch_history.js', ['shaka.util.SwitchHistory'], [], {'lang': 'es6'});
|
|
213
213
|
goog.addDependency('../../../../lib/util/text_parser.js', ['shaka.util.TextParser'], ['goog.asserts'], {'lang': 'es6'});
|
|
214
214
|
goog.addDependency('../../../../lib/util/timer.js', ['shaka.util.Timer'], ['shaka.util.DelayedTick'], {'lang': 'es6'});
|
|
215
|
-
goog.addDependency('../../../../lib/util/ts_parser.js', ['shaka.util.TsParser'], ['
|
|
215
|
+
goog.addDependency('../../../../lib/util/ts_parser.js', ['shaka.util.TsParser'], ['shaka.log', 'shaka.util.ExpGolomb', 'shaka.util.Id3Utils', 'shaka.util.Uint8ArrayUtils'], {'lang': 'es6'});
|
|
216
216
|
goog.addDependency('../../../../lib/util/uint8array_utils.js', ['shaka.util.Uint8ArrayUtils'], ['shaka.util.BufferUtils', 'shaka.util.StringUtils'], {'lang': 'es6'});
|
|
217
217
|
goog.addDependency('../../../../lib/util/xml_utils.js', ['shaka.util.XmlUtils'], ['goog.asserts', 'shaka.log', 'shaka.util.Lazy', 'shaka.util.StringUtils'], {'lang': 'es8'});
|
|
218
218
|
goog.addDependency('../../../../third_party/closure-uri/uri.js', ['goog.Uri', 'goog.Uri.QueryData'], ['goog.asserts', 'goog.uri.utils', 'goog.uri.utils.ComponentIndex']);
|
package/dist/locales.js
CHANGED
|
@@ -721,45 +721,45 @@ shaka.ui.Locales.addTo = function(localization) {
|
|
|
721
721
|
* @const
|
|
722
722
|
*/
|
|
723
723
|
shaka.ui.Locales.Ids = {
|
|
724
|
-
|
|
724
|
+
MUTE: 'MUTE',
|
|
725
|
+
BACK: 'BACK',
|
|
726
|
+
EXIT_FULL_SCREEN: 'EXIT_FULL_SCREEN',
|
|
727
|
+
RESOLUTION: 'RESOLUTION',
|
|
725
728
|
PICTURE_IN_PICTURE: 'PICTURE_IN_PICTURE',
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
731
|
-
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
729
|
+
FAST_FORWARD: 'FAST_FORWARD',
|
|
730
|
+
LOOP: 'LOOP',
|
|
731
|
+
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
732
|
+
PLAY: 'PLAY',
|
|
732
733
|
AD_DURATION: 'AD_DURATION',
|
|
733
|
-
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
734
|
-
RESOLUTION: 'RESOLUTION',
|
|
735
|
-
CAST: 'CAST',
|
|
736
|
-
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
737
|
-
VOLUME: 'VOLUME',
|
|
738
734
|
EXIT_LOOP_MODE: 'EXIT_LOOP_MODE',
|
|
739
|
-
PLAY: 'PLAY',
|
|
740
|
-
PAUSE: 'PAUSE',
|
|
741
|
-
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
742
|
-
MULTIPLE_LANGUAGES: 'MULTIPLE_LANGUAGES',
|
|
743
735
|
QUALITY: 'QUALITY',
|
|
744
|
-
AD_PROGRESS: 'AD_PROGRESS',
|
|
745
|
-
FULL_SCREEN: 'FULL_SCREEN',
|
|
746
|
-
REWIND: 'REWIND',
|
|
747
|
-
LIVE: 'LIVE',
|
|
748
|
-
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
749
|
-
LOOP: 'LOOP',
|
|
750
736
|
UNMUTE: 'UNMUTE',
|
|
737
|
+
MORE_SETTINGS: 'MORE_SETTINGS',
|
|
738
|
+
VOLUME: 'VOLUME',
|
|
739
|
+
CAPTIONS: 'CAPTIONS',
|
|
740
|
+
SEEK: 'SEEK',
|
|
751
741
|
ON: 'ON',
|
|
752
|
-
|
|
753
|
-
REPLAY: 'REPLAY',
|
|
754
|
-
MUTE: 'MUTE',
|
|
755
|
-
BACK: 'BACK',
|
|
742
|
+
UNDETERMINED_LANGUAGE: 'UNDETERMINED_LANGUAGE',
|
|
756
743
|
LANGUAGE: 'LANGUAGE',
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
744
|
+
EXIT_PICTURE_IN_PICTURE: 'EXIT_PICTURE_IN_PICTURE',
|
|
745
|
+
ENTER_PICTURE_IN_PICTURE: 'ENTER_PICTURE_IN_PICTURE',
|
|
746
|
+
UNRECOGNIZED_LANGUAGE: 'UNRECOGNIZED_LANGUAGE',
|
|
747
|
+
AD_PROGRESS: 'AD_PROGRESS',
|
|
748
|
+
CAST: 'CAST',
|
|
749
|
+
SKIP_TO_LIVE: 'SKIP_TO_LIVE',
|
|
750
|
+
REPLAY: 'REPLAY',
|
|
751
|
+
AUTO_QUALITY: 'AUTO_QUALITY',
|
|
752
|
+
FULL_SCREEN: 'FULL_SCREEN',
|
|
753
|
+
REWIND: 'REWIND',
|
|
754
|
+
PAUSE: 'PAUSE',
|
|
762
755
|
ENTER_LOOP_MODE: 'ENTER_LOOP_MODE',
|
|
763
|
-
CAPTIONS: 'CAPTIONS',
|
|
764
756
|
SKIP_AD: 'SKIP_AD',
|
|
757
|
+
AIRPLAY: 'AIRPLAY',
|
|
758
|
+
OFF: 'OFF',
|
|
759
|
+
NOT_APPLICABLE: 'NOT_APPLICABLE',
|
|
760
|
+
STATISTICS: 'STATISTICS',
|
|
761
|
+
LIVE: 'LIVE',
|
|
762
|
+
AD_TIME: 'AD_TIME',
|
|
763
|
+
PLAYBACK_RATE: 'PLAYBACK_RATE',
|
|
764
|
+
SUBTITLE_FORCED: 'SUBTITLE_FORCED',
|
|
765
765
|
};
|