eyevinn-hls-monitor
- Description:
Service to monitor one or more HLS-streams for manifest errors and inconsistencies.
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createEyevinnHlsMonitorInstance(context, body) → {EyevinnHlsMonitor}
- Description:
Create a new HLS Stream Monitor instance
Example
import { Context } from '@osaas/client-core';
import { createEyevinnHlsMonitorInstance } from '@osaas/client-services';
const ctx = new Context();
const body: EyevinnHlsMonitorConfig = { name: 'myinstance', ... };
const instance = await createEyevinnHlsMonitorInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
EyevinnHlsMonitorConfig | Service instance configuration |
Returns:
- Service instance
- Type
- EyevinnHlsMonitor
(async, static) getEyevinnHlsMonitorInstance(context, name) → {EyevinnHlsMonitor}
- Description:
Get a HLS Stream Monitor instance
Example
import { Context } from '@osaas/client-core';
import { getEyevinnHlsMonitorInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getEyevinnHlsMonitorInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the monitor to be retrieved |
Returns:
- Service instance
- Type
- EyevinnHlsMonitor
(async, static) removeEyevinnHlsMonitorInstance(context, name)
- Description:
Remove a HLS Stream Monitor instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the monitor to be removed |