eyevinn-docker-testsrc-hls-live
- Description:
Effortlessly create live HLS test streams with the docker-testsrc-hls-live image. Powered by FFmpeg, it's a must-have for developers crafting and testing video applications in real-time streaming environments.
- Copyright:
- 2025 Eyevinn Technology AB
Methods
(async, static) createEyevinnDockerTestsrcHlsLiveInstance(context, body) → {EyevinnDockerTestsrcHlsLive}
- Description:
Create a new Test Source HLS Live instance
Example
import { Context } from '@osaas/client-core';
import { createEyevinnDockerTestsrcHlsLiveInstance } from '@osaas/client-services';
const ctx = new Context();
const body: EyevinnDockerTestsrcHlsLiveConfig = { name: 'myinstance', ... };
const instance = await createEyevinnDockerTestsrcHlsLiveInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
EyevinnDockerTestsrcHlsLiveConfig | Service instance configuration |
Returns:
- Service instance
(async, static) getEyevinnDockerTestsrcHlsLiveInstance(context, name) → {EyevinnDockerTestsrcHlsLive}
- Description:
Get a Test Source HLS Live instance
Example
import { Context } from '@osaas/client-core';
import { getEyevinnDockerTestsrcHlsLiveInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getEyevinnDockerTestsrcHlsLiveInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the testsource to be retrieved |
Returns:
- Service instance
(async, static) removeEyevinnDockerTestsrcHlsLiveInstance(context, name)
- Description:
Remove a Test Source HLS Live instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the testsource to be removed |