Skip to content
Draft
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6d0377b
Migrate CMCD from @svta/common-media-library to @svta/cml-cmcd and ad…
claude Feb 8, 2026
17be620
Add CMCD v2 data fields and CmcdReporter event-mode reporting
claude Feb 8, 2026
72b69d0
Export CMCD v2 types and add comprehensive test coverage
claude Feb 8, 2026
db011bc
fix: remove @svta/common-media-library
littlespex Feb 12, 2026
5f83511
feat: update cmcd-controller to use CML's CmcdReporter
littlespex Feb 12, 2026
a0ff463
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Feb 12, 2026
ba31f04
chore: update CML packages
littlespex Feb 12, 2026
b65b1e0
fix: build system cleanup
littlespex Feb 12, 2026
8c5f8ca
fix: export clean up
littlespex Feb 12, 2026
cf201b6
fix: api-extractor rebuild
littlespex Feb 12, 2026
214bcbb
revert: build config change
littlespex Feb 12, 2026
1fd0cdc
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Feb 12, 2026
f949091
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Feb 13, 2026
62203b6
fix: address code review comment about muxed buffers
littlespex Feb 13, 2026
66c92dd
feat(cmcd): route event report requests through xhrSetup/fetchSetup h…
littlespex Feb 23, 2026
4ef9d6d
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Feb 25, 2026
aa08b0e
feat(cmcd): add CMCD v2 e2e tests and upgrade @svta/cml-cmcd to 2.2.0
littlespex Feb 26, 2026
a85caae
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Feb 26, 2026
f2e021e
fix: return 204 for event mode responses
littlespex Feb 26, 2026
2cc2d75
refactor(cmcd): use CmcdReporter default requester, add loader config…
littlespex Mar 3, 2026
1ef698a
chore: update api file
littlespex Mar 3, 2026
2c7cab3
Merge branch 'master' into issue/7723-cmcd-v2
littlespex Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ _ReSharper*/

# VSCode custom workspace settings
.vscode/settings.json

# Claude local settings
.claude/settings.local.json
10 changes: 9 additions & 1 deletion api-extractor/report/hls.js.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

```ts

import type { CmcdEventReportConfig } from '@svta/cml-cmcd';
import type { CmcdKey } from '@svta/cml-cmcd';
import type { CmcdVersion } from '@svta/cml-cmcd';

// Warning: (ae-missing-release-tag) "AbrComponentAPI" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
Expand Down Expand Up @@ -945,7 +949,11 @@ export type CMCDControllerConfig = {
sessionId?: string;
contentId?: string;
useHeaders?: boolean;
includeKeys?: string[];
includeKeys?: CmcdKey[];
version?: CmcdVersion;
eventTargets?: (Omit<CmcdEventReportConfig, 'enabledKeys'> & {
includeKeys?: CmcdKey[];
})[];
};

// Warning: (ae-missing-release-tag) "CodecsParsed" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
Expand Down
9 changes: 9 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,14 @@ module.exports = function (config) {
// Concurrency level
// how many browser should be started simultaneous
concurrency: 1,

// Timeout for e2e tests that perform real network I/O
browserNoActivityTimeout: 120000,

client: {
mocha: {
timeout: 60000,
},
},
});
};
84 changes: 75 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@
"@rollup/plugin-replace": "6.0.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.3.0",
"@svta/common-media-library": "0.17.1",
"@svta/cml-cmcd": "2.2.0",
"@svta/cml-id3": "1.0.5",
"@svta/cml-utils": "1.4.0",
"@types/chai": "5.2.3",
"@types/chart.js": "2.9.41",
"@types/mocha": "10.0.10",
Expand Down
11 changes: 10 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ import type {
import type { CuesInterface } from './utils/cues';
import type { ILogger } from './utils/logger';
import type { KeySystems, MediaKeyFunc } from './utils/mediakeys-helper';
import type {
CmcdEventReportConfig,
CmcdKey,
CmcdVersion,
} from '@svta/cml-cmcd';

export type ABRControllerConfig = {
abrEwmaFastLive: number;
Expand Down Expand Up @@ -74,7 +79,11 @@ export type CMCDControllerConfig = {
sessionId?: string;
contentId?: string;
useHeaders?: boolean;
includeKeys?: string[];
includeKeys?: CmcdKey[];
version?: CmcdVersion;
eventTargets?: (Omit<CmcdEventReportConfig, 'enabledKeys'> & {
includeKeys?: CmcdKey[];
})[];
};

export type DRMSystemOptions = {
Expand Down
Loading
Loading