Home > hls.js > CMCDController > toQuery

CMCDController.toQuery() method

Convert a CMCD data object to query args according to the rules defined in the section 2.2 and 3.2 of [CTA-5004](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf).

Signature:

static toQuery(data: CMCD): string;

Parameters

Parameter Type Description
data CMCD

Returns:

string