bitmovin-analytics 2.41.0 → 2.42.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,15 +100,15 @@ export interface AdapterAPI {
100
100
  setCustomDataOnce: (values: CustomDataValues) => void;
101
101
  sourceChange: (config: AnalyticsConfig) => void;
102
102
  }
103
+ export type AdPosition = "preroll" | "midroll" | "postroll";
104
+ export type SsaiAdBreakMetadata = {
105
+ adPosition?: AdPosition;
106
+ };
103
107
  export type SsaiAdMetadata = {
104
108
  adId?: string;
105
109
  adSystem?: string;
106
110
  customData?: CustomDataValues;
107
111
  };
108
- export type AdPosition = "preroll" | "midroll" | "postroll";
109
- export type SsaiAdBreakMetadata = {
110
- adPosition?: AdPosition;
111
- };
112
112
  export type SsaiAdQuartile = "first" | "midpoint" | "third" | "completed";
113
113
  export type SsaiAdQuartileMetadata = {
114
114
  failedBeaconUrl?: string;
@@ -196,9 +196,9 @@ export declare class HTMLVideoElementAdapter implements AdapterAPI {
196
196
  videoCodec?: string;
197
197
  });
198
198
  get sessionMetadata(): {
199
- readonly setAudioLanguage: (audioLanguage: string) => void;
200
- readonly setSubtitleEnabled: (enabled: boolean) => void;
201
- readonly setSubtitleLanguage: (subtitleLanguage: string) => void;
199
+ setAudioLanguage(audioLanguage: string): void;
200
+ setSubtitleEnabled(enabled: boolean): void;
201
+ setSubtitleLanguage(subtitleLanguage: string): void;
202
202
  };
203
203
  static readonly version: string;
204
204
  get version(): string;