Hey devs,
I've been working on an open-source video streaming client called AyushFlix for Android phones and Android TV / FireStick.
Think of it like an open-source, zero-config alternative to Stremio or Cloudstream with a Netflix-style 10-foot UI that works out-of-the-box without needing any manual add-on repos, extensions, or Debrid accounts. It automatically scrapes and streams full movies and series in 1080p with zero ads, redirects, or popups.
Wanted to share the codebase and a few specific architectural implementations:
- Unified Phone + Android TV (Leanback) codebase
Supporting both touch navigation on smartphones and 10-foot D-Pad remote navigation on Android TV in the same APK required separating the UI controllers while sharing the underlying playback viewmodels and extraction layer. For TV, we implemented native Leanback browse support and continuous row adapters so the remote focus engine doesn't stutter on low-memory FireSticks.
- Programmatic multi-audio track selection (Auto Hindi Dub Prioritization)
A major pain point in streaming extractors is that multi-audio streams often default to English or random regional tracks. We intercepted ExoPlayer's TrackSelectionParameters.Builder to programmatically auto-detect and select preferred dubbed tracks (like Hindi audio) as soon as the HLS/DASH manifest resolves, so users don't have to fiddle with audio menus every time.
- Stream extraction & decoy trap bypass
Building resilient stream scrapers that handle redirect chains, CloudFront signed policies, and automatically filtering out the fake "player update" decoy loops that many stream hosts use.
- Offline downloads & subtitle synchronization
A background download manager with pause/resume support and real-time subtitle fetching with custom sync delay controls.
The full project is open-source under GPL-3.0:
https://github.com/jaatayushh/ayushflix
Would love to get your feedback on the extraction pipeline and Media3 playback architecture!
submitted by /u/Used-Show-2246[link] [comments]