Skip to content

Commit

Permalink
feat(DASH): Disable xlink processing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Sep 5, 2024
1 parent 7b07614 commit 958512e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion demo/common/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,14 @@ shakaAssets.testAssets = [
.addFeature(shakaAssets.Feature.MP4)
.addFeature(shakaAssets.Feature.WEBM)
.addFeature(shakaAssets.Feature.XLINK)
.addFeature(shakaAssets.Feature.OFFLINE),
.addFeature(shakaAssets.Feature.OFFLINE)
.setExtraConfig({
manifest: {
dash: {
disableXlinkProcessing: false,
}
},
}),
// From: http://dig.ccmixter.org/files/JeffSpeed68/53327
// Licensed under Creative Commons BY-NC 3.0.
// Free for non-commercial use with attribution.
Expand Down
2 changes: 1 addition & 1 deletion externs/shaka/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ shaka.extern.xml.Node;
* @property {boolean} disableXlinkProcessing
* If true, xlink-related processing will be disabled.
* <br>
* Defaults to <code>false</code>.
* Defaults to <code>true</code>.
* @property {boolean} xlinkFailGracefully
* If true, xlink-related errors will result in a fallback to the tag's
* existing contents. If false, xlink-related errors will be propagated
Expand Down
2 changes: 1 addition & 1 deletion lib/util/player_configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ shaka.util.PlayerConfiguration = class {
dash: {
clockSyncUri: '',
ignoreDrmInfo: false,
disableXlinkProcessing: false,
disableXlinkProcessing: true,
xlinkFailGracefully: false,
ignoreMinBufferTime: false,
autoCorrectDrift: true,
Expand Down

0 comments on commit 958512e

Please sign in to comment.