gwuhaolin-livego

Namespace

gwuhaolin-livego

Description:
  • Experience the power of simplicity and efficiency with our live broadcast server! Easy to install and use, built in pure Golang for high performance. Supports RTMP, AMF, HLS, HTTP-FLV protocols, FLV, TS containers, H264, AAC, MP3 encoding formats. Stream and playback seamlessly with just a few simple steps. Get your hands on this amazing product now!

Author:

Methods

(async, static) createGwuhaolinLivegoInstance(context, body) → {GwuhaolinLivego}

Description:
  • Create a new Livego instance

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

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

Open Source Cloud configuration context

body GwuhaolinLivegoConfig

Service instance configuration

Returns:
  • Service instance
Type
GwuhaolinLivego

(async, static) getGwuhaolinLivegoInstance(context, name) → {GwuhaolinLivego}

Description:
  • Get a Livego instance

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

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

Open Source Cloud configuration context

name string

Name of the livego to be retrieved

Returns:
  • Service instance
Type
GwuhaolinLivego

(async, static) removeGwuhaolinLivegoInstance(context, name)

Description:
  • Remove a Livego instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the livego to be removed