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!
- Copyright:
- 2025 Eyevinn Technology AB
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
(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
(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 |