eyevinn-lambda-stitch

Namespace

eyevinn-lambda-stitch

Description:
  • A proxy to insert ads in an HLS VOD either using manifest manipulation or HLS interstitials

Author:
See:

Methods

(async, static) createEyevinnLambdaStitchInstance(context, body) → {EyevinnLambdaStitch}

Description:
  • Create a new HLS VOD Stitcher instance

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

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

Open Source Cloud configuration context

body EyevinnLambdaStitchConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnLambdaStitch

(async, static) getEyevinnLambdaStitchInstance(context, name) → {EyevinnLambdaStitch}

Description:
  • Get a HLS VOD Stitcher instance

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

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

Open Source Cloud configuration context

name string

Name of the stitcher to be retrieved

Returns:
  • Service instance
Type
EyevinnLambdaStitch

(async, static) removeEyevinnLambdaStitchInstance(context, name)

Description:
  • Remove a HLS VOD Stitcher instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the stitcher to be removed