Skip to content

Commit 4eae0a9

Browse files
committed
fix merging problem
1 parent 380c348 commit 4eae0a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/dash/DashAdapter.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,15 +1107,15 @@ function DashAdapter() {
11071107
}
11081108
}
11091109

1110-
mediaInfo.essentialProperties = dashManifestModel.getEssentialPropertiesForAdaptation(realAdaptation);
1110+
mediaInfo.essentialProperties = dashManifestModel.getEssentialPropertiesForAdaptation(realAdaptation);
11111111
mediaInfo.essentialPropertiesAsArray = dashManifestModel.getEssentialPropertiesAsArrayForAdaptation(realAdaptation);
1112-
1112+
11131113
mediaInfo.isFragmented = dashManifestModel.getIsFragmented(realAdaptation);
11141114
mediaInfo.isEmbedded = false;
11151115

11161116
// Save IDs of AS that we can switch to
11171117
try {
1118-
const adaptationSetSwitching = mediaInfo.supplementalProperties[DashConstants.ADAPTATION_SET_SWITCHING];
1118+
const adaptationSetSwitching = mediaInfo.supplementalProperties[DashConstants.ADAPTATION_SET_SWITCHING]?.value;
11191119
if (adaptationSetSwitching && adaptationSetSwitching.length > 0) {
11201120
mediaInfo.adaptationSetSwitchingCompatibleIds = adaptationSetSwitching.split(',')
11211121
mediaInfo.adaptationSetSwitchingCompatibleIds = mediaInfo.adaptationSetSwitchingCompatibleIds.map((id) => {

0 commit comments

Comments
 (0)