{"repo":"sjbmcg/RadioUnityStream","free":true,"listed":false,"github":"https://github.com/sjbmcg/RadioUnityStream","clone":"git clone https://github.com/sjbmcg/RadioUnityStream.git","description":"Stream live internet radio in Unity using pure C# supports Icecast/SHOUTcast and HLS streams with no native dependencies","language":"ShaderLab","stars":38,"topics":["aac","csharp","hls","icecast","netstandard","p3","radio","somafm","streaming","unity"],"license":null,"category":"game-templates","readme_excerpt":"Unity Internet Radio Streaming Streams live internet radio inside Unity. Works on Windows, macOS, and Linux with no OS-level audio codecs required. Built entirely on pure C# libraries with no native dependencies. Supports Icecast/SHOUTcast streams (SomaFM, NPR etc.) and HLS streams (SomaFM, and more) out of the box. Tested on Windows and WSL2. Not entirely sure about native macOS or Linux Unity builds yet, but nothing in the stack should be platform-specific. --- How it works Component Role --- --- NLayer Pure C# MP3 decoder, handles Icecast streams and MP3 HLS segments SharpJaad Pure C# AAC/MP4 decoder, handles fMP4 (CMAF) and MPEG-TS HLS segments SampleRingBuffer Thread-safe float ring buffer that bridges the background download thread to Unity's audio callback HlsPlaylist M3U8 parser, handles master playlists, variant selection, and init segments ( #EXT-X-MAP ) FMp4Decoder Custom fMP4 box parser + SharpJaad integration, extracts AAC frames from moof / mdat fragments TsAudioDecoder Pure C# MPEG-TS parser, discovers audio PID via PAT/PMT, strips PES headers, decodes ADTS frames StreamTester Standalone .NET console app for validating the pipeline without needing Unity open --- Supported Stations Station Type --- --- SomaFM - DEFCON Radio, Groove Salad, Drone Zone, Indie Pop Rocks! Icecast (MP3) KUT News (NPR Austin) Icecast (MP3) KUTX Music (NPR Austin) Icecast (MP3) SomaFM - Groove Salad 128k HLS fMP4/AAC Adding more stations: add the URL and name to the urls and stationName","default_branch":null,"files":null,"tree":[],"storefront":"/r/sjbmcg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sjbmcg/RadioUnityStream/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}