bitmovin-analytics 2.33.0 → 2.34.0
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.
package/bitmovin-analytics.d.ts
CHANGED
|
@@ -108,12 +108,14 @@ declare class QualityChangeService {
|
|
|
108
108
|
private previousVideoBitrate;
|
|
109
109
|
private previousAudioBitrate;
|
|
110
110
|
private resetIntervalId?;
|
|
111
|
+
private startupHasFinished;
|
|
111
112
|
constructor(qualityChangeThreshold?: number);
|
|
112
113
|
resetValues(): void;
|
|
113
114
|
isQualityChangeEventEnabled(): boolean;
|
|
114
115
|
increaseCounter(): void;
|
|
115
116
|
shouldAllowVideoQualityChange(newBitrate: number | undefined): boolean;
|
|
116
117
|
setVideoBitrate(newBitrate: number): void;
|
|
118
|
+
setStartupHasFinished(): void;
|
|
117
119
|
shouldAllowAudioQualityChange(newBitrate: number | undefined): boolean;
|
|
118
120
|
setAudioBitrate(newBitrate: number): void;
|
|
119
121
|
startResetInterval(): void;
|
|
@@ -308,9 +310,9 @@ export interface Sample extends CustomDataValues {
|
|
|
308
310
|
drmType?: string;
|
|
309
311
|
droppedFrames?: number;
|
|
310
312
|
duration?: number;
|
|
311
|
-
errorCode?:
|
|
313
|
+
errorCode?: number;
|
|
312
314
|
errorData?: string;
|
|
313
|
-
errorMessage?:
|
|
315
|
+
errorMessage?: string;
|
|
314
316
|
errorSegments?: any[];
|
|
315
317
|
impressionId?: string;
|
|
316
318
|
isCasting?: boolean;
|
|
@@ -387,7 +389,6 @@ export interface StateMachineCallbacks {
|
|
|
387
389
|
setVideoTimeEndFromEvent: (event: AnalyticsEventBase | any) => void;
|
|
388
390
|
setVideoTimeStartFromEvent: (event: AnalyticsEventBase | any) => void;
|
|
389
391
|
videoStartFailed: (event: Readonly<VideoStartFailedEvent>, sendRequest: boolean) => void;
|
|
390
|
-
source_changing: (duration: number, state: string, event: any) => void;
|
|
391
392
|
startCasting: (duration: number, event: any) => void;
|
|
392
393
|
casting: (duration: number, event: any) => void;
|
|
393
394
|
manualSourceChange: (event: {
|
|
@@ -455,7 +456,7 @@ export interface InternalAdapterAPI extends DeferredLicenseLoadingAdapterAPI {
|
|
|
455
456
|
getDrmPerformanceInfo(): DrmPerformanceInfo | undefined;
|
|
456
457
|
initialize(analytics: Analytics): Array<Feature<FeatureConfigContainer, FeatureConfig>>;
|
|
457
458
|
getCurrentPlaybackInfo(): PlaybackInfo;
|
|
458
|
-
sourceChange(config: AnalyticsConfig
|
|
459
|
+
sourceChange(config: AnalyticsConfig): void;
|
|
459
460
|
clearValues(): void;
|
|
460
461
|
onError?(): void;
|
|
461
462
|
setCustomData(values: CustomDataValues): void;
|
|
@@ -544,8 +545,6 @@ declare class Analytics {
|
|
|
544
545
|
sendAnalyticsRequestSynchronous(): void;
|
|
545
546
|
clearValues(): void;
|
|
546
547
|
getIsLiveFromConfigOrPlaybackInfo(config: AnalyticsConfig, isLiveFromPlayback?: boolean): boolean;
|
|
547
|
-
getMergedCollectorConfig(newConfig: AnalyticsConfig | undefined, oldConfig?: AnalyticsConfig): CollectorConfig | undefined;
|
|
548
|
-
getMergedAnalyticsConfig(newConfig: AnalyticsConfig | undefined, oldConfig?: AnalyticsConfig): AnalyticsConfig;
|
|
549
548
|
/**
|
|
550
549
|
* This method sanitizes the input and updates the analytics config.
|
|
551
550
|
* @param values Object containing the customData and other fields
|