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.
- Copyright:
- 2025 Eyevinn Technology AB
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
(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
(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 |