srperens-uturn
- Description:
Simplify your WebRTC deployments with uTURN—a streamlined TURN server that routes all traffic through a single UDP port. Ideal for Kubernetes and restrictive environments, uTURN keeps communication seamless and efficient.
- Copyright:
- 2026 Eyevinn Technology AB
Methods
(async, static) createSrperensUturnInstance(context, body) → {SrperensUturn}
- Description:
Create a new uTURN instance
Example
import { Context } from '@osaas/client-core';
import { createSrperensUturnInstance } from '@osaas/client-services';
const ctx = new Context();
const body: SrperensUturnConfig = { name: 'myinstance', ... };
const instance = await createSrperensUturnInstance(ctx, body);
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
SrperensUturnConfig | Service instance configuration |
Returns:
- Service instance
- Type
- SrperensUturn
(async, static) getSrperensUturnInstance(context, name) → {SrperensUturn}
- Description:
Get a uTURN instance
Example
import { Context } from '@osaas/client-core';
import { getSrperensUturnInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getSrperensUturnInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the uturn to be retrieved |
Returns:
- Service instance
- Type
- SrperensUturn
(async, static) removeSrperensUturnInstance(context, name)
- Description:
Remove a uTURN instance
Parameters:
| Name | Type | Description |
|---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the uturn to be removed |