Skip to content

Commit

Permalink
Merge pull request #62 from THEOplayer/bugfix/conviva/ad_content_type
Browse files Browse the repository at this point in the history
Bugfix/conviva/ad content type
  • Loading branch information
tvanlaerhoven authored Dec 2, 2024
2 parents 7479aba + 88a5b16 commit c2f2fda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-snakes-explode.md
Original file line number Diff line number Diff line change
@@ -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".
3 changes: 3 additions & 0 deletions conviva/src/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c2f2fda

Please sign in to comment.