All-in-One Client-Side Live Streaming Assistant Engine for Android
TTS Chat Reader β’ Floating Overlay HUD β’ Hardware Sound Alerts β’ Song Request Player
MidStreamz is an open-source, ultra-low-latency streaming companion tool built natively for Android streamers and mobile gaming content creators.
Unlike traditional PC-dependent solutions, MidStreamz operates 100% locally on your smartphone. It requires no third-party cloud servers, no account logins, and no monthly API fees. Simply enter your channel handle or video URL, launch the floating HUD overlay, and stream directly from mobile while keeping full control of your live chat, voice interactions, custom alerts, and viewer song requests!
- Zero API Keys Required: Direct client-side stream monitoring via YouTube InnerTube API and TikTok Live WebCast connector.
- Flexible Identifier Inputs:
- Direct Channel Handle:
@ChannelNameoryoutube.com/@ChannelName - Direct Video / Watch URL:
youtube.com/watch?v=...,youtu.be/...,youtube.com/live/... - Direct Channel ID:
UC-xxxxxxxxxxxxxxxxxxxx - Video ID:
jfKfPfyJRdk - TikTok Username:
@streamerwith automatic live room resolution.
- Direct Channel Handle:
- Smart Stream Auto-Reconnect: Automatically follows YouTube live redirects and recovers connections seamlessly without dropping chat or overlay state.
- Multi-Voice Engine: Full compatibility with Android Native TTS engines (Google Speech Services, Samsung TTS, Vocalizer, etc.).
- Voice Customization: Individual sliders for Speech Rate (0.5x β 2.0x) and Voice Pitch (0.5x β 2.0x).
- Multi-Role Voice Routing: Assign distinct voices, pitches, and speeds for:
- π SuperChat / Gifts
- β Channel Members / VIPs
- π‘οΈ Moderators
- π¬ Regular Viewers
- Dynamic Speech Templates: Choose from customizable formats:
{author}: {message}{author} berkata: {message}- Message only (
{message})
- Anti-Spam & Delay Shield:
- Max Character Cap: Automatically truncates excessively long comments to prevent TTS monologue hijacking.
- Emoji Spam Filter: Limits repetitive emojis per message.
- Smart Queue Purge: Drops stale regular messages if real-time queue exceeds buffer thresholds, preventing audio lag from falling behind live video.
- VIP Priority Protection: SuperChats, gifts, and member greetings are never skipped.
- Bot Filter: Automatically filters out commands starting with
!(e.g.,!sr,!help, Nightbot, Moobot). - Smart Localization: Defaults automatically to your device's native language with quick multi-language switching.
- Ultra-Low Latency: Built-in sound synthesis running entirely on hardware audio threads.
- Independent Audio Categories:
- π° SuperChat & Cash Donations: Coin Drop, Cash Register (Ka-Ching), Level Up
- π New Channel Memberships: Welcome Bell, Fanfare, Level Up
- π₯ New Subscribers & Followers: Welcome Chime, Pop Bubble
- β€οΈ Like & Engagement Milestones: Heart Pulse, Click
- Custom Sound Bank & Previews: Instant test button for every alert category with independent volume controls.
- Draw Over Other Apps: Fully draggable and resizable overlay window (
SYSTEM_ALERT_WINDOW) designed for mobile games (Mobile Legends, PUBG Mobile, Free Fire, Genshin Impact, Roblox, etc.). - Live Chat Stream: Real-time incoming chat with hardware-accelerated smooth scrolling at 90Hz / 120Hz.
- Deep Visual Styling:
- Adjustable background opacity, blur, and custom surface color tones.
- Font scaling, line spacing, and high-contrast text rendering.
- Compact mode for minimal screen obstruction during intense gaming sessions.
- Custom Layout Arranger: Drag, hide, or rearrange HUD components (chat box, alert cards, viewer counter, song widget).
- Viewer-Driven Queue: Viewers can request songs directly in YouTube or TikTok live chat via
!sr <song title / youtube url>. - Integrated Background Audio: Built-in media player running on background service with lock screen and notification controls.
- Streamer Control Panel:
- Live song queue management with reorder, skip, and pause.
- Blacklist & profanity filters.
- Limit maximum song duration and requests per user.
- Built following Google's modern Material Design 3 (M3) with dynamic dark color schemes.
- Hardware-accelerated window pipeline (
PixelFormat.RGBA_8888) locked to highest display mode (120Hz/90Hz) to eliminate scroll stutter.
- Direct GitHub Releases Sync: Automatic background check for new releases without requiring Google Play Store.
- In-App Downloader & Auto-Installer: Real-time progress bar and one-tap install via Android
FileProvider. - 7-Day Snooze: Option to postpone update notifications for 7 days with quick manual check button.
- Universal Multi-Language Support: Complete interface localization across 37 international languages.
- Language: Kotlin 1.9.22
- UI Framework: Jetpack Compose with Material 3 (M3)
- Asynchronous Execution: Kotlin Coroutines & Flows
- Window Management: Android WindowManager (
TYPE_APPLICATION_OVERLAY) - Speech Engine: Android TextToSpeech API (
android.speech.tts) - Audio Synthesizer: Android AudioTrack & SoundPool
- Network Pipeline: OkHttp 4.12, Gson & Custom InnerTube Protocol Engine
- Target SDK: Android 14 (API 34) β’ Minimum SDK: Android 8.0 (API 26)
- JDK 17+ (JDK 21 recommended)
- Android SDK with Build-Tools 34.0.0+
- Gradle 8.7+
- Clone the repository:
git clone https://github.com/nimidz/MidStreamz.git cd MidStreamz - Build the project with Gradle:
# On Windows .\gradlew assembleRelease # On Linux / macOS ./gradlew assembleRelease
- Locate the compiled APK at:
app/build/outputs/apk/release/app-release.apk
MidStreamz is engineered with user privacy as a first-class requirement:
| Permission | Purpose |
|---|---|
SYSTEM_ALERT_WINDOW |
Enables drawing the floating chat HUD on top of mobile games. |
FOREGROUND_SERVICE |
Keeps TTS audio, song requests, and live connection active in the background. |
INTERNET |
Directly connects to YouTube / TikTok live chat streams. |
POST_NOTIFICATIONS |
Displays service status, playback controls, and update download progress. |
WAKE_LOCK |
Prevents connection drops and keeps audio responsive during screen-off intervals. |
REQUEST_INSTALL_PACKAGES |
Allows automated in-app installation of new release APK updates. |
Note
No personal data is collected or transmitted. MidStreamz connects directly from your phone to public live streaming endpoints without any intermediate tracking or analytical services.
Contributions, bug reports, and feature requests are very welcome!
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature). - Commit your Changes (
git commit -m 'Add some AmazingFeature'). - Push to the Branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
youtube-live-chat-reader β’ tiktok-live-chat-reader β’ android-streaming-overlay β’ floating-hud-stream β’ innertube-android β’ stream-text-to-speech β’ android-tts-streamer β’ song-request-live-chat β’ sound-alerts-streamer β’ mobile-gaming-companion β’ obs-browser-source-mobile β’ no-login-stream-tools β’ superchat-alert-reader β’ tiktok-gift-alert β’ mobile-legends-stream β’ pubg-mobile-stream β’ free-fire-stream β’ vtuber-android-tools β’ jetpack-compose-m3 β’ kotlin-android
This project is licensed under the GNU General Public License v3.0 (GPLv3) - see the LICENSE file for details.
Crafted with β€οΈ by Nimidz









