Skip to content

PoC: CMCD v2 parameters#154

Draft
cotid-qualabs wants to merge 12 commits intofeature/cmcdv2from
cmcdv2/cmcd-parameters
Draft

PoC: CMCD v2 parameters#154
cotid-qualabs wants to merge 12 commits intofeature/cmcdv2from
cmcdv2/cmcd-parameters

Conversation

@cotid-qualabs
Copy link

@cotid-qualabs cotid-qualabs commented Jan 14, 2026

Summary of Changes

This pull request introduces comprehensive support for CMCD v2 Parameters, focusing on enabling manifest-driven configuration of reporting targets. It adds new data structures and parsing logic to interpret CMCD v2 elements within DASH manifests.

Highlights

  • CMCD v2 Implementation: Includes full implementation of CMCD v2 functionality, enabling advanced client-side data reporting capabilities.
  • Manifest-Driven Reporting Targets: Introduction of ReportingTargets and EventTarget elements in DASH manifests, allowing CMCD reporting configurations to be defined directly within the manifest.
  • New EventTarget Class: A dedicated EventTarget class is added to encapsulate the properties of each CMCD reporting destination, including URL, mode, keys, and events.
  • Configuration Priority Update: CMCD configuration now prioritizes settings defined in the manifest over application-level settings for reporting targets, providing greater flexibility.

@cotid-qualabs cotid-qualabs changed the title feat: implement CMCD v2 functionality feat: CMCD v2 parameters Jan 14, 2026
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for CMCD v2 parameters, specifically EventTarget and ReportingTargets. It includes a new EventTarget class, updates DashConstants and DashParser to recognize these new elements, and modifies CMCDParameters to parse them from the manifest. Additionally, CmcdPropertyMap and CmcdConfigAccessor have been updated to correctly prioritize and retrieve CMCD v2 target-specific properties from both manifest and player settings. A new function getEventTargetsFromCmcdParameters has been added to CmcdModel to expose these targets.

@cotid-qualabs cotid-qualabs changed the title feat: CMCD v2 parameters PoC: CMCD v2 parameters Jan 29, 2026
@qualabs qualabs deleted a comment from gemini-code-assist bot Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant