Repository navigation
CML Monthly Call Agenda - 2026-07-14 #377
Pinned
littlespex
started this conversation in
Meetings
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2026-07-14
General
Releases
CMCD v2 is live in
dash.js@5.2.0,hls.js@1.7.0, andshaka-player@5.2.0@svta/cml-cmcd v2.3.2
Fixed
norformatter crash (TypeError: Invalid URL) when the value is already a relative path andbaseUrlis configured (#364)Changed
CmcdReporternow uses the current request URL's directory (viagetBaseUrl) as the base fornorrelative-path conversion, producing sibling-relative paths per the CMCD specification (previously the origin was used, yielding root-relative paths)norandCmcdEncodeOptions.baseUrl/CmcdFormatterOptions.baseUrlto document the absolute-URL convenience conversion@svta/cml-cmcd v2.4.0
Added
CmcdEventType.PLAYBACK_RATE(token'pr') for playback-rate-change events, per CTA-5004-B.CmcdReportRecorder— test helper that records CMCD-bearingreports across XHR and fetch transports for assertion in e2e tests.
Includes
waitForReports,waitForManifest,waitForSegments,and
waitForEventswait primitives that accept aCmcdReportRecorderWaitOptionsobject ({ count?, timeout? },countdefaults to1, reject on timeout) plus awaitTimeoutattach option that sets the per-recorder default timeout, and
event-target POST stubbing.
CmcdRecordedRequestTypeconst-enum and supporting types(
CmcdRecordedReport,CmcdRecordedReportMode,CmcdTransportAdapter,CmcdReportRecorderOptions,CmcdReportRecorderWaitOptions).createXhrTransportandcreateFetchTransportdefault adapterfactories.
Changed
CmcdReporter.update()now auto-fires the corresponding state-change event (PLAY_STATE,PLAYBACK_RATE,CONTENT_ID,BACKGROUNDED_MODE,BITRATE_CHANGE) when a tracked field's value changes. The two-stepupdate()+recordEvent()pattern still works and is harmlessly deduplicated.CmcdReporter.recordEvent()with a state-change event now persists the dedup field from itsdataargument into the persistent data store (write-through), keepingthis.dataconsistent with the most recently reported value.Fixed
prepareCmcdDatanow force-includes the required field (sta,pr,cid,bg,br) for state-change events (ps,pr,c,b,bc) after the per-targetenabledKeysfilter, preventing CTA-5004-B-non-compliant payloads likee=pswith nosta(#368).prepareCmcdDatapreservespr=1when encoding ane=prstate-change event in event mode. The v1 default-omission forpr=1still applies in request mode and in non-prevent-mode payloads.prepareCmcdDatanow emits an explicit?0token forbg: falseon a backgrounded-mode (e=b) state-change event in event mode. Previously the field was stripped by theisValidfilter, producing a CTA-5004-B-non-compliant payload on backgrounded-mode exit. The carve-out is scoped tightly to this case (bgis the only state-change required field typed as boolean);''/nullish/NaNandfalseon other state-change required fields remain stripped, and request-mode default-omission is unchanged (#372).validateCmcdStructurenow reports missing required fields for all five state-change events; previously onlye=pswas checked forsta.Discussion
Next meeting
Tuesday August 11th 2026, 16:00 GMT / 12:00 UYT / 11:00 EDT / 8:00 PDT
All reactions