wip: 0.2.4

还未实现 rtc 握手
This commit is contained in:
loveuer
2025-05-22 17:57:36 +08:00
parent 16e9d663f4
commit 013670b78f
4 changed files with 112 additions and 15 deletions

View File

@ -27,6 +27,7 @@ func Start(ctx context.Context) <-chan struct{} {
api := app.Group("/api/ulocal")
api.Post("/register", handler.LocalRegister())
api.Post("/offer", handler.LocalOffer())
api.Post("/answer", handler.LocalAnswer())
api.Get("/clients", handler.LocalClients())
api.Get("/ws", handler.LocalWS())
}