bjowestman-srt-stream-generator

Namespace

bjowestman-srt-stream-generator

Description:
  • Transform your streaming workflow with SRT Stream Generator! Create FFmpeg-powered test streams with video patterns and audio tones. Manage effortlessly via a sleek web UI. Perfect for seamless, low-latency projects!

Author:

Methods

(async, static) createBjowestmanSrtStreamGeneratorInstance(context, body) → {BjowestmanSrtStreamGenerator}

Description:
  • Create a new SRT Stream Generator instance

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

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

Open Source Cloud configuration context

body BjowestmanSrtStreamGeneratorConfig

Service instance configuration

Returns:
  • Service instance
Type
BjowestmanSrtStreamGenerator

(async, static) getBjowestmanSrtStreamGeneratorInstance(context, name) → {BjowestmanSrtStreamGenerator}

Description:
  • Get a SRT Stream Generator instance

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

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

Open Source Cloud configuration context

name string

Name of the generator to be retrieved

Returns:
  • Service instance
Type
BjowestmanSrtStreamGenerator

(async, static) removeBjowestmanSrtStreamGeneratorInstance(context, name)

Description:
  • Remove a SRT Stream Generator instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the generator to be removed