diff --git a/.changeset/spotty-snakes-explode.md b/.changeset/spotty-snakes-explode.md new file mode 100644 index 00000000..b8702819 --- /dev/null +++ b/.changeset/spotty-snakes-explode.md @@ -0,0 +1,5 @@ +--- +"@theoplayer/conviva-connector-web": patch +--- + +Fixed an issue where the content type of an ad would sometimes be reported as "Live". diff --git a/conviva/src/utils/Utils.ts b/conviva/src/utils/Utils.ts index 7448c838..0340074f 100644 --- a/conviva/src/utils/Utils.ts +++ b/conviva/src/utils/Utils.ts @@ -226,6 +226,9 @@ export function collectAdMetadata(ad: Ad): ConvivaMetadata { // The name of the Ad Stitcher. If not using an Ad Stitcher, set to "NA" adMetadata['c3.ad.adStitcher'] = 'NA'; + // Report ad content type + adMetadata[Constants.IS_LIVE] = Constants.StreamType.VOD; + return adMetadata; }