eyevinn-sgai-ad-proxy
- Description:
Boost viewer engagement with our Server-Guided Ad Insertion Proxy! Automatically embed ads into video streams with precision timing. Enhance monetization effortlessly while maintaining a seamless user experience.
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createEyevinnSgaiAdProxyInstance(context, body) → {EyevinnSgaiAdProxy}
- Description:
Create a new SGAI Proxy instance
Example
import { Context } from '@osaas/client-core';
import { createEyevinnSgaiAdProxyInstance } from '@osaas/client-services';
const ctx = new Context();
const body: EyevinnSgaiAdProxyConfig = { name: 'myinstance', ... };
const instance = await createEyevinnSgaiAdProxyInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
EyevinnSgaiAdProxyConfig | Service instance configuration |
Returns:
- Service instance
- Type
- EyevinnSgaiAdProxy
(async, static) getEyevinnSgaiAdProxyInstance(context, name) → {EyevinnSgaiAdProxy}
- Description:
Get a SGAI Proxy instance
Example
import { Context } from '@osaas/client-core';
import { getEyevinnSgaiAdProxyInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getEyevinnSgaiAdProxyInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the proxy to be retrieved |
Returns:
- Service instance
- Type
- EyevinnSgaiAdProxy
(async, static) removeEyevinnSgaiAdProxyInstance(context, name)
- Description:
Remove a SGAI Proxy instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the proxy to be removed |