wip: 0.2.7

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

No files matched your search

+1
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())
}