hls.js 1.6.0-rc.2 → 1.6.0-rc.2.0.canary.11081

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/dist/hls.light.js CHANGED
@@ -1044,7 +1044,7 @@
1044
1044
  // Some browsers don't allow to use bind on console object anyway
1045
1045
  // fallback to default if needed
1046
1046
  try {
1047
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-rc.2");
1047
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-rc.2.0.canary.11081");
1048
1048
  } catch (e) {
1049
1049
  /* log fn threw an exception. All logger methods are no-ops. */
1050
1050
  return createLogger();
@@ -1807,29 +1807,27 @@
1807
1807
  soun: ElementaryStreamTypes.AUDIO,
1808
1808
  vide: ElementaryStreamTypes.VIDEO
1809
1809
  }[hdlrType];
1810
+ // Parse codec details
1811
+ var stsdBox = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
1812
+ var stsd = parseStsd(stsdBox);
1810
1813
  if (type) {
1811
- // Parse codec details
1812
- var stsdBox = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
1813
- var stsd = parseStsd(stsdBox);
1814
- if (type) {
1815
- // Add 'audio', 'video', and 'audiovideo' track records that will map to SourceBuffers
1816
- result[trackId] = {
1817
- timescale: timescale,
1818
- type: type,
1819
- stsd: stsd
1820
- };
1821
- result[type] = _objectSpread2({
1822
- timescale: timescale,
1823
- id: trackId
1824
- }, stsd);
1825
- } else {
1826
- // Add 'meta' and other track records required by `offsetStartDTS`
1827
- result[trackId] = {
1828
- timescale: timescale,
1829
- type: hdlrType,
1830
- stsd: stsd
1831
- };
1832
- }
1814
+ // Add 'audio', 'video', and 'audiovideo' track records that will map to SourceBuffers
1815
+ result[trackId] = {
1816
+ timescale: timescale,
1817
+ type: type,
1818
+ stsd: stsd
1819
+ };
1820
+ result[type] = _objectSpread2({
1821
+ timescale: timescale,
1822
+ id: trackId
1823
+ }, stsd);
1824
+ } else {
1825
+ // Add 'meta' and other track records required by `offsetStartDTS`
1826
+ result[trackId] = {
1827
+ timescale: timescale,
1828
+ type: hdlrType,
1829
+ stsd: stsd
1830
+ };
1833
1831
  }
1834
1832
  }
1835
1833
  }
@@ -20289,7 +20287,7 @@
20289
20287
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
20290
20288
  }
20291
20289
 
20292
- var version = "1.6.0-rc.2";
20290
+ var version = "1.6.0-rc.2.0.canary.11081";
20293
20291
 
20294
20292
  // ensure the worker ends up in the bundle
20295
20293
  // If the worker should not be included this gets aliased to empty.js