NorskKantarEmbedder.queryKantarOfflineLicense() method

This method allows you to query the channels available in an offline license

Signature:

queryKantarOfflineLicense(settings: KantarSnapOfflineLicenseBase): Promise<KantarSnapLicenseInformation>;

Parameters

Parameter Type Description

settings

KantarSnapOfflineLicenseBase

Returns:

Example [examples/kantar_license_query.ts]

Query kantar license information

const offlineLicenseInfo = await norsk.processor.transform.audioWatermark.queryKantarOfflineLicense({
    type: "offline",
    kantarLicensePath: path.resolve("../../../licensing/kantar/license.lic"),
    audienceLicensePath: path.resolve("../../../licensing/kantar/license.aud"),
});

console.log("Offline license info:");
console.dir(offlineLicenseInfo, {depth: null});

Find Examples