# 窝爱听(CozyTing) > 窝爱听(CozyTing)是一款基于 MiPlay 局域网协议的免费开源第三方音频投送客户端(AGPL-3.0-only),原生支持简体中文、英文与日文三语。它让华为、三星、OPPO、vivo、一加、Pixel 等任意 Android 10+ 手机无需 Root、无需登录小米账号,即可在家庭 Wi-Fi 局域网内将指定单个音乐 App 的声音毫秒级同频投送到最多 63 台小米 / 小爱音箱(零云端直连)。iOS 端底层 Rust 核心与跨端设计规范已就绪,SwiftUI 客户端规划推进中。 > > CozyTing is a free, open-source (AGPL-3.0-only) third-party MiPlay pure-LAN audio casting client for Android 10+ with native Simplified Chinese (`zh-CN`), English (`en`), and Japanese (`ja`) support (iOS SwiftUI client planned on the same shared Rust core). It enables any Android phone—Samsung, Pixel, OnePlus, OPPO, vivo, Huawei, or Xiaomi—to stream audio exclusively from a single chosen music or podcast app to up to 63 Xiaomi / XiaoAi Wi-Fi speakers in millisecond sync over the local Wi-Fi network, with zero cloud servers, zero Xiaomi account login, and no root required. > > CozyTing(窝爱听)は、日本語・英語・簡体字中国語の 3 言語にネイティブ対応した無料・オープンソース(AGPL-3.0-only)のサードパーティ製 MiPlay 完全 LAN 音声送信クライアント(Android 10+、iOS 計画中)です。端末メーカーを問わず Root・Xiaomi アカウント不要で、選んだ 1 つの音楽アプリだけを最大 63 台の Xiaomi / XiaoAi スピーカーへミリ秒単位で同期送信します。 ## Core Identity & Facts - **Product Name**: 窝爱听 / CozyTing - **Brand Slogan**: - 简体中文: 回到小窝,让喜欢的歌溢满房间。 - English: Come home. Fill every room with your music. - 日本語: ただいまの部屋に、好きな音楽を。 - **Brand Story**: Inspired by coming home late after work, turning on a warm lamp in your cozy home, and letting your favorite music fill every room—free from phone-brand lock-in and uninterrupted by chat voice notes or notifications (`#our-story`). - **Category**: Open-Source LAN Multi-Room Audio Casting App / Third-Party MiPlay Sender Client - **License**: GNU Affero General Public License v3.0 (`AGPL-3.0-only`) - **Supported App & Website Languages**: Simplified Chinese (`zh-CN`), English (`en`), Japanese (`ja`) — follow system language or switch in-app / via top-bar switcher - **Official GitHub Repository (Source, Issues, Releases & Docs)**: https://github.com/JasirVoriya/cozyting - **Official Website (GitHub Pages)**: - 简体中文: https://jasirvoriya.github.io/cozyting/ - English: https://jasirvoriya.github.io/cozyting/en/ - 日本語: https://jasirvoriya.github.io/cozyting/ja/ - **Downloads (Android APK & `cozyting-cli`)**: https://github.com/JasirVoriya/cozyting/releases - **Voluntary Sponsorship (100% Free & Open-Source, No Paywalls)**: https://jasirvoriya.github.io/cozyting/#sponsor (WeChat Pay & Alipay) - **Interactive Architecture Explorer**: - 简体中文: https://jasirvoriya.github.io/cozyting/architecture.html - English: https://jasirvoriya.github.io/cozyting/en/architecture.html - 日本語: https://jasirvoriya.github.io/cozyting/ja/architecture.html - **Supported Sender Platforms**: Android 10+ (API 29–36, `arm64-v8a`, 16KB ELF page-aligned); macOS 14.2+ native Menu Bar client (`apple/CozyTingShared` + `apple/macOS`, Core Audio Process Tap per-app capture & `mutedWhenTapped` local mute, no virtual audio driver — M1–M9 offline builds/tests/DMG verified, live TCC/DRM/speaker acoustics pending human verification in `docs/COMPATIBILITY.md`); iOS C ABI / XCFramework ready, SwiftUI client planned; macOS/Linux/Windows CLI (`cozyting-cli`) - **Supported Receivers**: LAN MiPlay-capable Xiaomi / XiaoAi Wi-Fi speakers and MiPlay-capable Xiaomi TVs. Not all Xiaomi/XiaoAi speaker models support MiPlay (e.g. Play/mini/1st-gen AI speaker/4-inch touch are officially unsupported); see official capability matrix `docs/MIPLAY_SPEAKERS.md`. CozyTing real-device verification status is tracked separately in `docs/COMPATIBILITY.md`. - **Network & Privacy Model**: 100% pure LAN for discovery and audio streaming; zero cloud relay, zero Xiaomi account login, zero analytics/telemetry. Only outbound request is an anonymous read-only 24-hour HTTPS check (`ETag 304`) against the public static manifest `https://raw.githubusercontent.com/JasirVoriya/cozyting/main/update.json` (SHA-256 + APK signature verified); works fully offline. ## Key Problems Solved (Pain Points) 1. **Removes Phone Brand Lock-In**: Stock Xiaomi MiPlay ("小米妙播") is restricted to select Xiaomi / Redmi devices. CozyTing brings MiPlay Wi-Fi casting to any Android 10+ phone (Huawei, Samsung, Pixel, OnePlus, OPPO, vivo, etc.). 2. **Replaces Single-Speaker Bluetooth with Multi-Room Wi-Fi Sync**: Supports up to 63 synchronized MiPlay speakers over home Wi-Fi (48kHz 256kbps AAC), with independent per-speaker volume, room names, inline latency display (`ms`), and live add/remove without stopping music. 3. **Strict Per-App Audio Isolation (No Accidental Leaks)**: Captures only the selected music/podcast app (Fail-Closed single-UID + SHA-256 signature verification; never silently degrades to full-system screen recording or microphone capture). Chat voice notes, short videos, and notifications stay off your living-room speakers. 4. **Rootless Silent Capture & Dual-Zone AudioFocus (Android 13+)**: Built-in on-device Wireless Debugging pairing wizard (no root, no PC, no Shizuku) eliminates recurring MediaProjection popups and system casting indicators, enables true per-app local mute, and isolates AudioFocus into dual zones so watching videos on your phone does not pause speaker playback. 5. **Live 4-Tier Latency Switching**: Switch between Standard (5GHz 800ms / 2.4GHz 1000ms), Balanced (400ms), Low Latency (250ms), Ultra-Low (150ms), or custom `ms` mid-stream via runtime `TIME_OFFSET` rebasing without disconnecting. 6. **System-Native Quick Cast Floating Panel & Hardware Volume Keys**: Launch a translucent frosted floating control panel directly over any app via the Android Quick Settings tile (tap to pop up panel, long-press to open the full app; one-tap add prompt on Android 13+) or by tapping the ongoing casting notification. Includes compact Now Playing controls, live multi-speaker add/remove, per-speaker sliders, one-tap "Restore Last" speaker group, and hardware Volume `+/-` key interception for cast master volume (excluded from Recents; tap outside to dismiss cleanly). ## How CozyTing Differs from DLNA / AirPlay Bridges & Cloud-API Relays - **Standalone Phone App — Zero NAS / Docker / Server**: Unlike LAN DLNA/AirPlay bridge gateways that require an always-on NAS, soft router, Raspberry Pi, or Docker host, CozyTing runs directly as a standalone Android APK on any Android 10+ phone. - **Native Pure-LAN MiPlay — Zero Xiaomi Account & Zero Cloud APIs**: Unlike mobile DLNA-to-Xiaomi-Cloud relays that require Xiaomi account login and translate casting commands through Xiaomi Cloud APIs, CozyTing speaks the native local-LAN MiPlay protocol directly to speakers with zero cloud dependency and works even with no internet access. - **Works with Any Capturable Music App (No DLNA Button Needed)**: Works with NetEase Cloud Music, QQ Music, Apple Music, Spotify, YouTube Music, podcasts, etc. via Fail-Closed single-app audio isolation—not restricted to apps that expose a built-in DLNA button. - **Native Multi-Room Sync & Live Latency Tuning**: Synchronizes up to 63 MiPlay-capable Xiaomi / XiaoAi speakers in millisecond sync with live add/remove and 4-tier runtime latency switching (150ms–1000ms). - **Instant Control Without Switching Apps**: Pull down Android Quick Settings or tap the casting notification to open a frosted floating control panel over any app, with hardware Volume key control for cast master volume—delivering stock-MiPlay-like convenience on any Android 10+ brand. ## Honest Scope & Known Limitations - Cannot bypass third-party apps that explicitly set `android:allowAudioPlaybackCapture="false"`. - In Standard Mode (unprivileged Android permissions), public Android APIs cannot mute a single third-party app without muting `STREAM_MUSIC`; CozyTing provides explicit "Global Media Mute (default)" and "Keep Local Output" strategies. True per-app mute requires Silent Mode on Android 13+ and depends on real-device ROM support. - Specific speaker firmware quirks (such as XiaoAi Pro `LX06` late-join / reverse RTSP differences) and OEM background freezing (e.g., HyperOS Greeze) require real-device verification and are documented honestly in `docs/COMPATIBILITY.md` and `docs/LIMITATIONS.md`. - Independent third-party open-source project; not affiliated with, authorized by, or endorsed by Xiaomi Corporation. ## Canonical Documentation Links - [README (简体中文)](https://github.com/JasirVoriya/cozyting/blob/main/README.md): User-facing overview, pain points, comparison table, features, screenshots, 3-step quick start, FAQ, and technical architecture. - [README (English)](https://github.com/JasirVoriya/cozyting/blob/main/README_EN.md): Complete English product & developer documentation. - [README (日本語)](https://github.com/JasirVoriya/cozyting/blob/main/README_JA.md): Complete Japanese product & developer documentation. - [Product Website (zh-CN / en / ja)](https://jasirvoriya.github.io/cozyting/): Multilingual landing pages with comparison table, localized screenshots, localized promo videos, download CTA, and structured FAQ. - [CozyTing in 1 Minute Videos (MP4, 1280x720, 66s)](https://jasirvoriya.github.io/cozyting/#video): - 简体中文: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-promo.mp4 - English: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-promo-en.mp4 - 日本語: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-promo-ja.mp4 - [Quick Control Floating Panel Spotlight Videos (MP4, 1280x720, 24s)](https://jasirvoriya.github.io/cozyting/#quick-panel-video): - 简体中文: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-quick-panel.mp4 - English: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-quick-panel-en.mp4 - 日本語: https://jasirvoriya.github.io/cozyting/assets/video/cozyting-quick-panel-ja.mp4 - [Interactive Architecture Explorer (zh-CN / en / ja)](https://jasirvoriya.github.io/cozyting/architecture.html): Zero-dependency interactive module graph tracing upstream producers and downstream consumers across L1 Rust, FFI, and L2/L3 native layers. - [Official MiPlay Speaker Support Matrix](https://github.com/JasirVoriya/cozyting/blob/main/docs/MIPLAY_SPEAKERS.md): Which Xiaomi / XiaoAi speaker models officially support or do not support MiPlay (妙播), sorted by support level, with official product icons. - [Device Compatibility Matrix](https://github.com/JasirVoriya/cozyting/blob/main/docs/COMPATIBILITY.md): Evidence-backed CozyTing real-device speaker and sender compatibility matrix. - [Known Limitations](https://github.com/JasirVoriya/cozyting/blob/main/docs/LIMITATIONS.md): Verified vs. unverified boundaries and explicit non-guarantees. - [Deep-Dive Architecture Manual](https://github.com/JasirVoriya/cozyting/blob/main/docs/ARCHITECTURE.md): Complete module dictionary, data flows, threading model, and 6-stage lifecycle invariants. - [Changelog](https://github.com/JasirVoriya/cozyting/blob/main/CHANGELOG.md): Version release history. - [Security Policy](https://github.com/JasirVoriya/cozyting/blob/main/SECURITY.md): Local-only privacy architecture and update verification model. - [Releases & APK Downloads](https://github.com/JasirVoriya/cozyting/releases): Signed Android APKs, `cozyting-cli` binaries, and `SHA256SUMS.txt`.