The Challenge
A live radio app depends on thousands of third-party streams that drop, move or go offline without notice. RadioSEM had to start a working station within seconds, keep playing in the background with lock-screen and headset controls, recover from a dropped stream without falling behind the live broadcast, and keep dead stations out of its lists, on Android and on iPhone. RadioSEM is Rui Codex's own product, not client work.
Our Solution
Rui Codex designed and built RadioSEM as its own product, from one Flutter and Dart codebase for Android and iOS. Playback uses just_audio behind audio_service for background audio and the system media controls, driven by an explicit player state machine (connecting, buffering, playing, paused, reconnecting, failed). A dropped stream is retried with back-off at 1, 2, 4, 8 and 15 seconds within a 90-second deadline and rejoins at the live edge, and no attempt is spent while the phone is offline. App state is held with Provider and the interface is localised into 11 languages. Behind the app, an ASP.NET Core API on SQL Server runs background services that import stations from the open radio-browser.info directory and probe streams continuously, hiding a station after three consecutive failures instead of deleting it. Live listener counts reach every open screen over a self-hosted Appwrite realtime socket; only the server writes a count, so a client cannot inflate its own station. Signing in is optional, with a username and password, Google or Apple.
The Result
RadioSEM is live on Google Play for Android and on the App Store for iPhone, built from one Flutter codebase. It plays more than 40,000 live stations from over 200 countries with no account needed, keeps playing in the background with lock-screen and headset controls, and fades out on a sleep timer. It is free with ads; an optional monthly Premium subscription removes them.
Testing & quality
The Flutter client's repository holds 39 Dart test files, covering the player state machine, stream resolution, the billing and ad flows, onboarding and the station library. A render-matrix test draws screens in the app's languages at several screen sizes and text scales and fails on overflow, cut-off text or a word broken across two lines. The ASP.NET Core API has an xUnit project with 7 test files. Static analysis is configured with flutter_lints.
Accessibility
Custom controls carry Semantics labels, set in 12 of the client's 99 Dart source files. The mini player is announced as one button with the station name and the playback status as a hint; the status chip is a live region, so a change such as reconnecting is announced; and decorative visuals such as the spinning disc and the live bars are hidden from screen readers. Several layouts, the station grid among them, grow with the system text size, and a unit test checks the contrast ratios of the theme's text colours in light and dark mode and over station colours of every hue.
Figures counted in November 2026 from the app's default branch.
Project Overview
Client
RadioSEM (Google Play, App Store) — Rui Codex Product
Industry
Media & Entertainment
Published
November 2026
Status
Live product, our own
Have a Similar Project?
Let us apply the same proven approach to your business challenges.
Request a Proposal