feat: 移除WebRTC房间状态API,优化路由设置

This commit is contained in:
MatrixSeven
2025-09-11 15:55:10 +08:00
parent 4b31e76488
commit 50d30f23bf
3 changed files with 37 additions and 9 deletions

View File

@@ -106,13 +106,6 @@ export class ClientAPI {
async getRoomInfo(code: string): Promise<ApiResponse> {
return this.get(`/api/room-info?code=${code}`);
}
/**
* 获取WebRTC房间状态
*/
async getWebRTCRoomStatus(code: string): Promise<ApiResponse> {
return this.get(`/api/webrtc-room-status?code=${code}`);
}
}
// 导出单例实例