eyevinn-encore-packager

Namespace

eyevinn-encore-packager

Description:
  • Enhance your transcoding workflow with Encore packager! Run as a service, listen for messages on redis queue, and customize packaging events. Boost productivity with this versatile tool.

Author:

Methods

(async, static) createEyevinnEncorePackagerInstance(context, body) → {EyevinnEncorePackager}

Description:
  • Create a new Encore Packager instance

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

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

Open Source Cloud configuration context

body EyevinnEncorePackagerConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnEncorePackager

(async, static) getEyevinnEncorePackagerInstance(context, name) → {EyevinnEncorePackager}

Description:
  • Get a Encore Packager instance

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

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

Open Source Cloud configuration context

name string

Name of the packager to be retrieved

Returns:
  • Service instance
Type
EyevinnEncorePackager

(async, static) removeEyevinnEncorePackagerInstance(context, name)

Description:
  • Remove a Encore Packager instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the packager to be removed