Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitmovin-analytics

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitmovin-analytics - npm Package Compare versions

Comparing version 2.21.1 to 2.21.2

2

js/adapters/internal/Bitmovin7InternalAdapter.d.ts

@@ -20,3 +20,3 @@ import { Player } from '../../enums/Player';

sourceChange(config: any, timestamp: number): void;
protected readonly currentTime: number;
protected get currentTime(): number;
private applySourceProperties;

@@ -23,0 +23,0 @@ private applySubtitleProperties;

@@ -14,6 +14,6 @@ import { PlayerAPI } from 'bitmovin-player';

private player;
readonly downloadSpeedInfo: DownloadSpeedInfo;
readonly segments: SegmentInfo[];
readonly adModule: AdModuleAPI | undefined;
readonly supportsDeferredLicenseLoading: boolean;
get downloadSpeedInfo(): DownloadSpeedInfo;
get segments(): SegmentInfo[];
get adModule(): AdModuleAPI | undefined;
get supportsDeferredLicenseLoading(): boolean;
readonly videoCompletionTracker: VideoCompletionTracker;

@@ -26,3 +26,3 @@ private onBeforeUnLoadEvent;

constructor(player: PlayerAPI, opts?: AnalyticsStateMachineOptions);
protected readonly currentTime: number;
protected get currentTime(): number;
initialize(): void;

@@ -29,0 +29,0 @@ clearValues(): void;

@@ -13,2 +13,13 @@ import { PlayerAPI } from 'bitmovin-player';

}
interface SegmentPlaybackEvent {
duration?: number;
mediaInfo?: any;
mimeType?: string;
playbackTime?: number;
representationId?: string;
timestamp?: number;
type?: string;
uid?: string;
url?: string;
}
export declare class Bitmovin8SegmentTrackerAdapter {

@@ -19,4 +30,4 @@ private segmentTracker;

handleOnDownloadFinishEvent(event: DownloadFinishedEvent & any): void;
handleSegmentPlaybackEvent: (event: any) => void;
handleSegmentPlaybackEvent: (event: SegmentPlaybackEvent & any) => void;
}
export {};

@@ -26,3 +26,3 @@ import { Player } from '../../enums/Player';

onPaused(currentTime?: number): void;
protected readonly currentTime: number;
protected get currentTime(): number;
}

@@ -11,3 +11,3 @@ /// <reference types="hls.js" />

private hls;
readonly downloadSpeedInfo: DownloadSpeedInfo;
get downloadSpeedInfo(): DownloadSpeedInfo;
private speedMeter;

@@ -14,0 +14,0 @@ constructor(hls: Hls, opts?: AnalyticsStateMachineOptions);

@@ -14,3 +14,3 @@ import VideoCompletionTracker from '../../core/VideoCompletionTracker';

protected mediaElement: HTMLVideoElement | null;
readonly segments: SegmentInfo[];
get segments(): SegmentInfo[];
private static BUFFERING_TIMECHANGED_TIMEOUT;

@@ -43,3 +43,3 @@ mediaElEventHandlers: Array<{

getCurrentPlaybackInfo(): PlaybackInfo;
protected readonly currentTime: number;
protected get currentTime(): number;
/**

@@ -46,0 +46,0 @@ * Used to setup against the media element.

@@ -21,9 +21,9 @@ import { AnalyticsStateMachine } from '../../analyticsStateMachines/AnalyticsStateMachine';

protected qualityChangeCount: number;
protected abstract readonly currentTime: number;
readonly onLicenseKeyReceived: EventDispatcher<{
protected abstract get currentTime(): number;
get onLicenseKeyReceived(): EventDispatcher<{
licenseKey: string;
}>;
readonly onLicenseCallFailed: EventDispatcher<{}>;
readonly downloadSpeedInfo: DownloadSpeedInfo;
readonly segments: SegmentInfo[];
get onLicenseCallFailed(): EventDispatcher<{}>;
get downloadSpeedInfo(): DownloadSpeedInfo;
get segments(): SegmentInfo[];
constructor(opts?: AnalyticsStateMachineOptions);

@@ -30,0 +30,0 @@ eventCallback: (eventType: string, eventObject: any) => void;

@@ -31,5 +31,5 @@ /// <reference types="video.js" />

sourceChange(config: any, timestamp: number): void;
protected readonly currentTime: number;
protected get currentTime(): number;
private getSelectedAudioTrackLanguage;
private getSubtitleInfo;
}

@@ -21,3 +21,3 @@ import { VideoStartFailedReason } from '../enums/VideoStartFailedReason';

abstract sourceChange(config: any, timestamp: number, currentTime?: number): void;
readonly currentState: string;
get currentState(): string;
protected startRebufferingHeartbeatInterval(reset?: boolean): void;

@@ -24,0 +24,0 @@ protected resetRebufferingHelpers(reset?: boolean): void;

@@ -9,3 +9,3 @@ import { InternalAdapterAPI } from '../adapters/internal/InternalAdapterAPI';

export declare class Analytics {
readonly version: string;
get version(): string;
static version: string;

@@ -12,0 +12,0 @@ static LICENSE_CALL_PENDING_TIMEOUT: number;

@@ -11,4 +11,4 @@ export interface Subscribable<TArgs> {

unsubscribe(callback: EventHandler<TArgs>): void;
readonly subscriberCount: number;
get subscriberCount(): number;
}
export {};
import { SpeedMeasurement } from '../types/SpeedMeasurement';
export declare class Measure implements SpeedMeasurement {
private download;
readonly speed: number;
readonly duration: number;
readonly size: number;
readonly timeToFirstByte: number;
readonly timestamp: Date;
readonly httpStatus: number;
get speed(): number;
get duration(): number;
get size(): number;
get timeToFirstByte(): number;
get timestamp(): Date;
get httpStatus(): number;
constructor(download: SpeedMeasurement);
}
export declare class CodecHelper {
static readonly supportedVideoFormats: string[];
static get supportedVideoFormats(): string[];
static isCodecSupported(codec: string): boolean;
}

@@ -1,1 +0,1 @@

{"name":"bitmovin-analytics","version":"v2.21.1","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]}
{"name":"bitmovin-analytics","version":"v2.21.2","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc