nfrederiksen-hls-viewer

Namespace

nfrederiksen-hls-viewer

Description:
  • Effortlessly inspect and analyze HLS playlist manifests directly in your browser. No installation needed—just paste your URL and dive into comprehensive metrics with ease. Ideal for streamlined streaming analysis!

Author:

Methods

(async, static) createNfrederiksenHlsViewerInstance(context, body) → {NfrederiksenHlsViewer}

Description:
  • Create a new HLS Playlist Viewer instance

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

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

Open Source Cloud configuration context

body NfrederiksenHlsViewerConfig

Service instance configuration

Returns:
  • Service instance
Type
NfrederiksenHlsViewer

(async, static) getNfrederiksenHlsViewerInstance(context, name) → {NfrederiksenHlsViewer}

Description:
  • Get a HLS Playlist Viewer instance

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

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

Open Source Cloud configuration context

name string

Name of the viewer to be retrieved

Returns:
  • Service instance
Type
NfrederiksenHlsViewer

(async, static) removeNfrederiksenHlsViewerInstance(context, name)

Description:
  • Remove a HLS Playlist Viewer instance

Parameters:
Name Type Description
context Context

Open Source Cloud configuration context

name string

Name of the viewer to be removed