Selkies
Developer Reference

audio_config

Process-wide audio-encoding knobs.

The server resolves its audio settings once and publishes them here; the vendored WebRTC codec classes (constructed deep inside the codec factory, where no settings object reaches) read them at construction time. This module stays dependency-free so the WebSocket-only path can publish values without importing the WebRTC stack.

attributered_distanceOptional[int]
= None
funcset_red_distance(distance) -> None

Publish the RED redundancy depth, clamped to non-negative.

Source Code
def set_red_distance(distance: int) -> None:
    """Publish the RED redundancy depth, clamped to non-negative."""
    global red_distance
    red_distance = max(0, int(distance))
paramdistanceint

Returns

None

On this page

No Headings
Edit on GitHub