wip: 0.2.7

实现了 rtc 握手和打开数据通道
This commit is contained in:
loveuer
2025-05-26 17:40:06 +08:00
parent 5bc695bde3
commit 21287e0874
7 changed files with 194 additions and 97 deletions

View File

@ -28,6 +28,7 @@ func Start(ctx context.Context) <-chan struct{} {
api.Post("/register", handler.LocalRegister())
api.Post("/offer", handler.LocalOffer())
api.Post("/answer", handler.LocalAnswer())
api.Post("/candidate", handler.LocalCandidate())
api.Get("/clients", handler.LocalClients())
api.Get("/ws", handler.LocalWS())
}