From aa4ce3e3873df15aa241be38c7b5aa93bb768227 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Fri, 29 Nov 2024 12:30:10 +0100 Subject: [PATCH 1/2] Report ad content type --- conviva/src/utils/Utils.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conviva/src/utils/Utils.ts b/conviva/src/utils/Utils.ts index 7448c83..0340074 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; } From 88a5b16e4b3e103aa9caf72f420b6395bd7640a7 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Fri, 29 Nov 2024 12:32:43 +0100 Subject: [PATCH 2/2] Add changeset --- .changeset/spotty-snakes-explode.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/spotty-snakes-explode.md diff --git a/.changeset/spotty-snakes-explode.md b/.changeset/spotty-snakes-explode.md new file mode 100644 index 0000000..b870281 --- /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".