dasha 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/lib/dash.js +2 -1
  2. package/package.json +1 -1
package/lib/dash.js CHANGED
@@ -322,10 +322,11 @@ const parseManifest = async (text, url, fallbackLanguage) => {
322
322
  const essentialProps = getAll('EssentialProperty');
323
323
  const accessibilities = adaptationSet.getAll('Accessibility');
324
324
  const roles = adaptationSet.getAll('Role');
325
- const contentProtections = adaptationSet.getAll('ContentProtection');
325
+ const contentProtections = getAll('ContentProtection');
326
326
 
327
327
  const id = [
328
328
  new URL(baseUrl).hostname,
329
+ contentType,
329
330
  codecs,
330
331
  bitrate,
331
332
  language,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dasha",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "author": "Vitaly Gashkov <vitalygashkov@vk.com>",
5
5
  "description": "Parser for MPEG-DASH & HLS manifests",
6
6
  "license": "AGPL-3.0",