From 1fda763047cc199dee24a076c198900141d396fc Mon Sep 17 00:00:00 2001 From: Kirill Karpov Date: Thu, 16 May 2024 18:49:19 +0400 Subject: [PATCH] Update comments --- src/ts/conviva/ConvivaExtension.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/ts/conviva/ConvivaExtension.ts b/src/ts/conviva/ConvivaExtension.ts index e528389..a7941e1 100644 --- a/src/ts/conviva/ConvivaExtension.ts +++ b/src/ts/conviva/ConvivaExtension.ts @@ -10,15 +10,21 @@ import * as Conviva from '@convivainc/conviva-js-coresdk'; declare module '@convivainc/conviva-js-coresdk' { export class ContentMetadata { public static readonly StreamType: Conviva.ConvivaConstants['StreamType']; - public applicationName: string; + + // Can only be set once public assetName: string; + + // Can only be set before playback started + public viewerId: string; + public streamType: Conviva.valueof; + public applicationName: string; public custom: Record; - public defaultResource: string; public duration: number; + + // Dynamic + public defaultResource: string; public encodedFrameRate: number; - public streamType: Conviva.valueof; public streamUrl: string; - public viewerId: string; } export interface LoggingInterface {