๐ฅ Ring2All Video Overview
๐ Executive Summary & Architecture
Section titled โ๐ Executive Summary & ArchitectureโRing2All Video (softswitch-video-sfu, softswitch-video-sip, softswitch-video-egress) is the ultra-low-latency WebRTC video conferencing, screen-sharing, and media egress subsystem of the Ring2All platform. Purpose-built for high-density unified communications in Ring2All Connect and hybrid SIP video rooms in Ring2All PBX, it combines a distributed Selective Forwarding Unit (SFU) media fabric (/usr/bin/livekit-server) with a native SIP-to-WebRTC Gateway Bridge (/usr/bin/livekit-sip) and a composite Egress Recording & Live Streaming pipeline (/usr/bin/livekit-egress).
flowchart TB
subgraph Endpoints["Unified Collaboration & Telephony Endpoints"]
Connect["Ring2All Connect<br/>(Nginx /livekit-node/ Proxy)"]
Guest["External Guest Browser Links<br/>(Zero-Install WebRTC + Waiting Room)"]
SIP["SIP Desk Phones, Room Systems<br/>& PSTN Audio Dial-In"]
end
subgraph VideoFabric["Ring2All Video Cluster (softswitch-video-*)"]
SFU["softswitch-video-sfu<br/>TCP :7881 ยท UDP 52000-60000"]
SIPGW["softswitch-video-sip<br/>SIP :5070 UDP/TCP ยท RTP 50000-51999/udp"]
Egress["softswitch-video-egress<br/>HD MP4 Recording & RTMP/HLS Streaming"]
end
subgraph Ecosystem["Ring2All Platform Integration"]
PBX["Ring2All PBX<br/>(On-Demand SFU Balancing & Twirp ListRooms)"]
NCX["Ring2All NCX & AI Hub<br/>(Meeting Transcription & AI Summaries)"]
end
Connect <-->|WSS + SRTP (VP8/VP9/AV1/Opus)| SFU
Guest <-->|WSS + SRTP / TURN-TLS| SFU
SIP <-->|SIP / RTP| PBX
PBX <-->|SIP Trunk :5070| SIPGW
SIPGW <-->|Media Tracks| SFU
SFU --> Egress
Egress -->|Recordings & Transcripts| PBX
Egress -->|Audio Stream| NCX
๐ฏ User Roles & Key Capabilities
Section titled โ๐ฏ User Roles & Key Capabilitiesโ| Role | Primary Use Case | Key Capabilities |
|---|---|---|
| Platform Infrastructure Architect | Designing multi-region SFU clusters and capacity planning | Deploy softswitch-video-sfu, -sip, and -egress nodes, configure Redis mesh state, and manage TURN/TLS traversal. |
| PBX / UCaaS Administrator | Provisioning video servers and domain meeting policies | Pair SFU clusters in Ring2All PBX, enforce waiting room and recording policies, and assign dial-in DIDs for hybrid meetings. |
| Meeting Host / Moderator | Running interactive team and customer video conferences | Schedule meetings in Ring2All Connect, admit guests from the waiting room, control participant mute/camera states, share screens in 60fps, and trigger cloud recording. |
๐ Core Capabilities
Section titled โ๐ Core Capabilitiesโ- On-Demand SFU Load Balancing, Sticky
video_server_id&/livekit-node/Proxy:- Meetings automatically select the healthiest non-draining SFU node upon room startup (
sticky video_server_id), monitor live active rooms via TwirpListRooms, and route client WebSockets seamlessly through Nginx/livekit-node/<host>:<wsPort>/.
- Meetings automatically select the healthiest non-draining SFU node upon room startup (
- Simulcast, Dynacast & Scalable Video Coding (SVC):
- Dynamically adapts video resolution and bitrate per subscriber over
7881/tcpand52000-60000/udp, supporting hundreds of concurrent participants per room.
- Dynamically adapts video resolution and bitrate per subscriber over
- Native SIP & PSTN Interoperability (
softswitch-video-sip):- Allows hardware SIP video phones and PSTN audio callers to dial directly into any Ring2All Video meeting over SIP
5070/udp+tcpand RTP50000-51999/udpusing a room extension or DID+PIN.
- Allows hardware SIP video phones and PSTN audio callers to dial directly into any Ring2All Video meeting over SIP
- Cloud Egress Recording & Live Streaming (
softswitch-video-egress):- Captures composite speaker/grid layouts into high-definition
.mp4files or broadcasts live town halls to YouTube Live, Twitch, or custom RTMP/HLS endpoints.
- Captures composite speaker/grid layouts into high-definition
- Per-Domain Meeting Isolation & AI Meeting Assistant:
- Enforces strict
tenant_idanddomain_idisolation for all rooms and generates multi-speaker transcripts and action-item summaries via the Ring2All AI Service Hub.
- Enforces strict
๐ Field & Configuration Reference
Section titled โ๐ Field & Configuration ReferenceโVideo Server registration parameters in Ring2All PBX (Administration โ Infrastructure โ Video Servers) and /etc/softswitch/video/{livekit,sip,egress}.yaml:
| Field | Type | Description | Default |
|---|---|---|---|
| Server Name | Text | Descriptive identifier for the Ring2All Video SFU node or cluster (e.g., US-East Primary SFU). |
Required |
| Host IP / Domain & WS Port | Host / Number | SFU host address and LiveKit WebSocket signaling port proxied through /livekit-node/. |
7880 |
| RTC TCP / UDP Media Ports | Port Range | LiveKit WebRTC TCP fallback port (7881/tcp) and UDP SRTP range (52000-60000/udp). |
7881 / 52000-60000 |
| API Key / API Secret | Text / Password | Cryptographic credentials matching /etc/softswitch/video/livekit.yaml for JWT grants and Twirp ListRooms probes. |
Required |
| SIP Bridge Port & RTP Range | Port / Range | Listening SIP signaling port (5070/udp+tcp) and RTP media range (50000-51999/udp) for softswitch-video-sip. |
5070 / 50000-51999 |
| Max Concurrent Rooms | Number | Soft capacity ceiling for on-demand SFU load balancing across healthy nodes. | 100 |
| Active / Drain / Shared | Toggles | Controls cluster eligibility, graceful zero-downtime draining, and multi-tenant sharing. | Active |
๐ Security & Compliance
Section titled โ๐ Security & Complianceโ- End-to-End & Hop-by-Hop Encryption: All signaling traverses TLS 1.3 (
WSS), media streams are encrypted via DTLS-SRTP, and optional WebRTC Insertable Streams (E2EE) protect confidential executive boardrooms. - Short-Lived Cryptographic Room Tokens: Clients never connect with static credentials; Ring2All PBX issues scoped JWT grants containing exact room permissions (
canPublish,canSubscribe,canRecord,roomAdmin).

