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.js CHANGED
@@ -1073,7 +1073,7 @@
1073
1073
  // Some browsers don't allow to use bind on console object anyway
1074
1074
  // fallback to default if needed
1075
1075
  try {
1076
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-rc.2");
1076
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-rc.2.0.canary.11081");
1077
1077
  } catch (e) {
1078
1078
  /* log fn threw an exception. All logger methods are no-ops. */
1079
1079
  return createLogger();
@@ -1843,29 +1843,27 @@
1843
1843
  soun: ElementaryStreamTypes.AUDIO,
1844
1844
  vide: ElementaryStreamTypes.VIDEO
1845
1845
  }[hdlrType];
1846
+ // Parse codec details
1847
+ var stsdBox = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
1848
+ var stsd = parseStsd(stsdBox);
1846
1849
  if (type) {
1847
- // Parse codec details
1848
- var stsdBox = findBox(trak, ['mdia', 'minf', 'stbl', 'stsd'])[0];
1849
- var stsd = parseStsd(stsdBox);
1850
- if (type) {
1851
- // Add 'audio', 'video', and 'audiovideo' track records that will map to SourceBuffers
1852
- result[trackId] = {
1853
- timescale: timescale,
1854
- type: type,
1855
- stsd: stsd
1856
- };
1857
- result[type] = _objectSpread2({
1858
- timescale: timescale,
1859
- id: trackId
1860
- }, stsd);
1861
- } else {
1862
- // Add 'meta' and other track records required by `offsetStartDTS`
1863
- result[trackId] = {
1864
- timescale: timescale,
1865
- type: hdlrType,
1866
- stsd: stsd
1867
- };
1868
- }
1850
+ // Add 'audio', 'video', and 'audiovideo' track records that will map to SourceBuffers
1851
+ result[trackId] = {
1852
+ timescale: timescale,
1853
+ type: type,
1854
+ stsd: stsd
1855
+ };
1856
+ result[type] = _objectSpread2({
1857
+ timescale: timescale,
1858
+ id: trackId
1859
+ }, stsd);
1860
+ } else {
1861
+ // Add 'meta' and other track records required by `offsetStartDTS`
1862
+ result[trackId] = {
1863
+ timescale: timescale,
1864
+ type: hdlrType,
1865
+ stsd: stsd
1866
+ };
1869
1867
  }
1870
1868
  }
1871
1869
  }
@@ -16588,7 +16586,7 @@
16588
16586
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16589
16587
  }
16590
16588
 
16591
- var version = "1.6.0-rc.2";
16589
+ var version = "1.6.0-rc.2.0.canary.11081";
16592
16590
 
16593
16591
  // ensure the worker ends up in the bundle
16594
16592
  // If the worker should not be included this gets aliased to empty.js