WHIP support. (#3692)

* WHIP support.

WHIP like signalling with added support for data channels.

* clean up

* Paul feedback

* deps
This commit is contained in:
Raja Subramanian
2025-06-03 08:23:37 -07:00
committed by GitHub
parent e4f7d81bdd
commit 1b760393bc
11 changed files with 856 additions and 100 deletions
-6
View File
@@ -45,9 +45,7 @@ import (
type RTCService struct {
router routing.MessageRouter
roomAllocator RoomAllocator
store ServiceStore
upgrader websocket.Upgrader
currentNode routing.LocalNode
config *config.Config
isDev bool
limits config.LimitConfig
@@ -61,16 +59,12 @@ type RTCService struct {
func NewRTCService(
conf *config.Config,
ra RoomAllocator,
store ServiceStore,
router routing.MessageRouter,
currentNode routing.LocalNode,
telemetry telemetry.TelemetryService,
) *RTCService {
s := &RTCService{
router: router,
roomAllocator: ra,
store: store,
currentNode: currentNode,
config: conf,
isDev: conf.Development,
limits: conf.Limit,