eyevinn-live-encoding

Namespace

eyevinn-live-encoding

Description:
  • Transform your live streaming with Eyevinn Live Encoding: Open-source, ffmpeg-based, and ready for HLS & MPEG-DASH. Streamline now, CDN-ready.

Author:

Methods

(async, static) createEyevinnLiveEncodingInstance(context, body) → {EyevinnLiveEncoding}

Description:
  • Create a new Eyevinn Live Encoding instance

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

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

Open Source Cloud configuration context

body EyevinnLiveEncodingConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnLiveEncoding

(async, static) getEyevinnLiveEncodingInstance(context, name) → {EyevinnLiveEncoding}

Description:
  • Get a Eyevinn Live Encoding instance

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

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

Open Source Cloud configuration context

name string

Name of the encoder to be retrieved

Returns:
  • Service instance
Type
EyevinnLiveEncoding

(async, static) removeEyevinnLiveEncodingInstance(context, name)

Description:
  • Remove a Eyevinn Live Encoding instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the encoder to be removed