About this project

Douyu Multi-Room Same-Screen is a third-party tool used to watch multiple Douyu live rooms simultaneously on one page. It offers two usage methods: a local web version and a Chrome extension, suitable for scenarios such as multi-view events and watching multiple streamers at the same time. Main features include: - Same-screen layout: supports adaptive or fixed 1 to 5 columns, focus layout, window enlargement, drag-and-drop sorting, fullscreen, and picture-in-picture; the toolbar can auto-hide. - Independent playback control: each room can separately adjust volume, mute, switch quality, and reload, and supports solo listening, mute all, and batch quality switching. - Danmaku: receives real-time danmaku, supports independent toggling, opacity adjustment, global speed adjustment, and one-click toggling. - Room management: supports entering room numbers or Douyu links, batch adding, searching, status filtering, drag-and-drop sorting, and batch opening, closing, and deleting. - Viewing schemes: can create, copy, rename, and switch schemes, save room lists, layouts, and independent settings, and supports JSON backup and import. - Live status: periodically checks live status, can hide offline windows, automatically displays them when live status is detected, and supports live notifications. - Performance and diagnostics: provides low-load mode, playback stutter detection and automatic retry, connection and performance diagnostics, and retry for failed windows. - Today's data: view room data through the third-party "Watching Live" page. The web version requires Node.js 20.9 or higher and npm. After running, access the local address to use it. The Chrome extension is based on Manifest V3 and does not require running a local service after installation. The project uses native JavaScript, HTML, and CSS, plays FLV live streams through mpegts.js, uses WebSocket to receive danmaku, and Canvas to draw danmaku. Configuration is saved in the browser's localStorage, with no cloud sync provided, and it is not automatically shared between different browsers or between the web version and the extension version. The project provides unit tests and Playwright end-to-end tests. This tool is not an official Douyu product, and interface changes may affect feature availability.