Commit 77f7d188 by zhangxingmin

push

parent f3c08a10
......@@ -727,6 +727,13 @@ public class CoWebSocketServer {
return;
}
if ("request_offer".equals(action)) {
log.info("收到 request_offer 请求,转发给房间内其他成员");
// 广播给房间内其他人(不包括发送者)
broadcast(roomId, message, session);
return;
}
// --- 未知操作:记录警告日志 ---
log.warn("未知 action: {}", action);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment