eyevinn-player-analytics-worker

Namespace

eyevinn-player-analytics-worker

Description:
  • Unlock powerful insights with Eyevinn Player Analytics Worker – the modular framework designed to streamline video player event tracking. Effortlessly process and store event data, boosting your analytics game!

Author:

Methods

(async, static) createEyevinnPlayerAnalyticsWorkerInstance(context, body) → {EyevinnPlayerAnalyticsWorker}

Description:
  • Create a new Player Analytics Worker instance

Example
import { Context } from '@osaas/client-core';
import { createEyevinnPlayerAnalyticsWorkerInstance } from '@osaas/client-services';

const ctx = new Context();
const body: EyevinnPlayerAnalyticsWorkerConfig = { name: 'myinstance', ... };
const instance = await createEyevinnPlayerAnalyticsWorkerInstance(ctx, body);
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

body EyevinnPlayerAnalyticsWorkerConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnPlayerAnalyticsWorker

(async, static) getEyevinnPlayerAnalyticsWorkerInstance(context, name) → {EyevinnPlayerAnalyticsWorker}

Description:
  • Get a Player Analytics Worker instance

Example
import { Context } from '@osaas/client-core';
import { getEyevinnPlayerAnalyticsWorkerInstance } from '@osaas/client-services';

const ctx = new Context();
const instance = await getEyevinnPlayerAnalyticsWorkerInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the worker to be retrieved

Returns:
  • Service instance
Type
EyevinnPlayerAnalyticsWorker

(async, static) removeEyevinnPlayerAnalyticsWorkerInstance(context, name)

Description:
  • Remove a Player Analytics Worker instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the worker to be removed