修正同步各种问题

This commit is contained in:
mtvpls
2025-12-07 23:53:00 +08:00
parent c38d1bbdad
commit 7911e4cc5f
8 changed files with 346 additions and 73 deletions
+1
View File
@@ -27,6 +27,7 @@ export function useLiveSync({
const currentRoom = watchRoom?.currentRoom;
const socket = watchRoom?.socket;
// 房主:广播频道切换
const broadcastChannelChange = useCallback(() => {
if (!isOwner || !socket || syncingRef.current || !watchRoom) return;