hls.js 1.6.7-0.canary.11358 → 1.6.7-0.canary.11362

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.mjs CHANGED
@@ -523,7 +523,7 @@ function enableLogs(debugConfig, context, id) {
523
523
  // Some browsers don't allow to use bind on console object anyway
524
524
  // fallback to default if needed
525
525
  try {
526
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.7-0.canary.11358"}`);
526
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.7-0.canary.11362"}`);
527
527
  } catch (e) {
528
528
  /* log fn threw an exception. All logger methods are no-ops. */
529
529
  return createLogger();
@@ -10267,7 +10267,7 @@ function requireEventemitter3 () {
10267
10267
  var eventemitter3Exports = requireEventemitter3();
10268
10268
  var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
10269
10269
 
10270
- const version = "1.6.7-0.canary.11358";
10270
+ const version = "1.6.7-0.canary.11362";
10271
10271
 
10272
10272
  // ensure the worker ends up in the bundle
10273
10273
  // If the worker should not be included this gets aliased to empty.js
@@ -19971,10 +19971,10 @@ const CmcdHeaderField = {
19971
19971
  * @group CMCD
19972
19972
  */
19973
19973
  const CmcdHeaderMap = {
19974
- [CmcdHeaderField.OBJECT]: ['br', 'd', 'ot', 'tb'],
19975
- [CmcdHeaderField.REQUEST]: ['bl', 'dl', 'mtp', 'nor', 'nrr', 'su'],
19976
- [CmcdHeaderField.SESSION]: ['cid', 'pr', 'sf', 'sid', 'st', 'v'],
19977
- [CmcdHeaderField.STATUS]: ['bs', 'rtp']
19974
+ [CmcdHeaderField.OBJECT]: ['br', 'ab', 'd', 'ot', 'tb', 'tpb', 'lb', 'tab', 'lab', 'url'],
19975
+ [CmcdHeaderField.REQUEST]: ['pb', 'bl', 'tbl', 'dl', 'ltc', 'mtp', 'nor', 'nrr', 'rc', 'sn', 'sta', 'su', 'ttfb', 'ttfbb', 'ttlb', 'cmsdd', 'cmsds', 'smrt', 'df', 'cs'],
19976
+ [CmcdHeaderField.SESSION]: ['cid', 'pr', 'sf', 'sid', 'st', 'v', 'msd'],
19977
+ [CmcdHeaderField.STATUS]: ['bs', 'bsd', 'cdn', 'rtp', 'bg', 'pt', 'ec', 'e']
19978
19978
  };
19979
19979
 
19980
19980
  /**
@@ -20544,7 +20544,7 @@ function encodeSfDict(value, options) {
20544
20544
  * @internal
20545
20545
  */
20546
20546
  function isTokenField(key) {
20547
- return key === 'ot' || key === 'sf' || key === 'st';
20547
+ return ['ot', 'sf', 'st', 'e', 'sta'].includes(key);
20548
20548
  }
20549
20549
 
20550
20550
  /**
@@ -20665,7 +20665,7 @@ function processCmcd(obj, options) {
20665
20665
  const formatters = _extends({}, CmcdFormatters, options === null || options === void 0 ? void 0 : options.formatters);
20666
20666
  const filter = options === null || options === void 0 ? void 0 : options.filter;
20667
20667
  keys.forEach(key => {
20668
- if (filter === null || filter === void 0 ? void 0 : filter(key)) {
20668
+ if ((filter === null || filter === void 0 ? void 0 : filter(key)) === false) {
20669
20669
  return;
20670
20670
  }
20671
20671
  let value = obj[key];