dasha 2.3.4 → 2.3.5

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.
Files changed (2) hide show
  1. package/lib/manifest.js +1 -1
  2. package/package.json +1 -1
package/lib/manifest.js CHANGED
@@ -85,7 +85,7 @@ class Manifest {
85
85
  adaptationSet.representations.some((r) => r.mimeType?.includes('audio'))) &&
86
86
  !adaptationSet.maxWidth;
87
87
  const filterLanguages = (adaptationSet) =>
88
- languages?.length ? languages.some((lang) => adaptationSet.lang.includes(lang)) : true;
88
+ languages?.length ? languages.some((lang) => adaptationSet.lang?.includes(lang)) : true;
89
89
  const adaptationSets = this.periods
90
90
  .map((p) => p.adaptationSets)
91
91
  .flat(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dasha",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "author": "Vitaly Gashkov <vitalygashkov@vk.com>",
5
5
  "description": "MPD-manifest parser for MPEG DASH",
6
6
  "license": "Apache-2.0",