feat: 文字图片传输支持,去掉无用交互和接口

This commit is contained in:
MatrixSeven
2025-08-07 14:03:53 +08:00
parent 7cb0d34fb1
commit baf67742f3
9 changed files with 666 additions and 244 deletions

View File

@@ -62,7 +62,8 @@ func main() {
// WebRTC房间API
r.Post("/api/create-room", h.CreateRoomHandler)
r.Get("/api/room-info", h.RoomStatusHandler)
r.Get("/api/room-info", h.WebRTCRoomStatusHandler)
r.Get("/api/webrtc-room-status", h.WebRTCRoomStatusHandler)
// 构建服务器地址
addr := fmt.Sprintf(":%d", *port)