NorskKantarEmbedder.kantarEmbedder() method

Embeds audio watermarks into the audio stream, using the Kantar Snap Live Embedder.

Signature:

kantarEmbedder(settings: KantarSnapSettings): Promise<KantarSnapNode>;

Parameters

Parameter Type Description

settings

KantarSnapSettings

Returns:

Promise<KantarSnapNode>

Remarks

Norsk supports both online and offline licensing models. In order to get a watermarking embedding license, please contact Kantar support at https://www.kantarmedia.com/watermarkinghelpdesk with following information:

  • Product name and version

  • Customer name

  • Country

  • If different, country of broadcast

  • Channel(s) to be watermarked

  • Customer internal name for the hardware platform

  • AuthorisationCode for each hardware or login contact for online solution.

Once you have obtained the appropriate Kantar license, you can configure this through the license field in the settings, providing either an KantarSnapOnlineLicense or an KantarSnapOfflineLicense. On startup, the KantarSnapSettings.onLicenseInformation callback is called, providing information about your license.

Events from the Kantar embedder are raised through the KantarSnapSettings.onLicenseInformation callback, which you can use to log in your own application’s event logs. Norsk also logs this information to the default Norsk log files.

Norsk automatically handles synchronisation between the Kantar embedding process and the local system time. It performs a resync every 12 hours, and any time that a jump in the system clock occurs of more than 10 seconds. This is reported via the KantarSnapSettings.onTimecodeResync event.

Note that when active, the watermarking processing will introduce a constant audio delay of 2560 audio samples, which is 53ms at 48kHz; Norsk will ensure that all related media streams (e.g. video) are kept in sync.

Obviously the audio watermark is only applied to streams that it is subscribed to. If for some reason your application needs to close the watermarking node, or drop the subscriptions to the source streams to some reason, you should ensure that this is done when off-air.

Obviously the audio watermark is only applied to streams that it is subscribed to. If for some reason your application needs to close the watermarking node, or drop the subscriptions to the source streams to some reason, you should ensure that this is done when off-air.