eyevinn-cast-receiver

Namespace

eyevinn-cast-receiver

Description:
  • A basic custom chromecast receiver that can be configured using environment variables. Add your company branding to your own chromecast receiver without writing a single line of code!

Author:
See:

Methods

(async, static) createEyevinnCastReceiverInstance(context, body) → {EyevinnCastReceiver}

Description:
  • Create a new Chromecast receiver instance

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

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

Open Source Cloud configuration context

body EyevinnCastReceiverConfig

Service instance configuration

Returns:
  • Service instance
Type
EyevinnCastReceiver

(async, static) getEyevinnCastReceiverInstance(context, name) → {EyevinnCastReceiver}

Description:
  • Get a Chromecast receiver instance

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

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

Open Source Cloud configuration context

name string

Name of the receiver to be retrieved

Returns:
  • Service instance
Type
EyevinnCastReceiver

(async, static) removeEyevinnCastReceiverInstance(context, name)

Description:
  • Remove a Chromecast receiver instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the receiver to be removed