Skip to content

Stream Internet Radio Stations in Unity with NAudio Library: Streaming Popular Radio Stations like SomaFM.

Notifications You must be signed in to change notification settings

sjbmcg/RadioUnityStream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 Unity Internet Radio Streaming with NAudio 📻

🌐 Overview

This project enables real-time streaming of popular internet radio stations like SomaFM in Unity. Designed to overcome the limitations of Unity's native media streaming capabilities, it uses the powerful NAudio library for seamless, low-latency audio playback.


🌟 Key Features

  • 📡 Access to popular radio stations like SomaFM and DEF CON
  • 🎛️ Intuitive UI for effortless station selection and volume control
  • 🚀 Optimized for a low-latency, high-quality streaming experience

🛠 Prerequisites

  • 🎮 Unity version 2021.3.30f1 or above
  • 🎧 NAudio Library 1.8.0
  • 🌐 Active internet connection

🔧 Setting Up NAudio

Step 1: Download NAudio 1.8.0

Start by downloading the NAudio-1.8.0-Release.zip file from the official NAudio GitHub release page.

Step 2: Create a 'Plugins' Folder in Unity

If a 'Plugins' folder doesn't already exist in your Unity project, create one inside your 'Assets' directory.

Step 3: Add NAudio.dll to 'Plugins'

Unzip NAudio-1.8.0-Release.zip and copy the NAudio.dll file into your 'Plugins' folder.


🎮 How to Use

1️⃣ Launch the Game: Start the game and navigate to the in-game UI panel.
2️⃣ Choose a Station: Use the dropdown menu to select your favorite radio station.
3️⃣ Start Streaming: Hit the 'Play' button to begin streaming your selected station. Enjoy! 🎶


⚖️ Legal Disclaimer

🚨 Important: This project is intended for personal, non-commercial use only. Please read the following legal guidelines carefully.

📜 User Responsibilities

  • Copyright Laws: Users must comply with their local copyright laws.

    ⚠️ It is the user's responsibility to adhere to local copyright regulations.

  • Radio Stations: Be aware of and respect the terms of service or usage policies of individual radio stations.

    ℹ️ Radio stations may have their own terms of service. Please read them carefully.

  • APIs and Libraries: The NAudio library is used in this project. Users should adhere to NAudio's license terms.

    📖 This project uses the NAudio library. Make sure to comply with NAudio's license terms.

⚠️ Liability

The creator of this project are not responsible for any legal repercussions that may arise from misuse of this software. Use at your own risk.

🚫 The creators assume no liability for the misuse of this software. Use responsibly and at your own risk.

About

Stream Internet Radio Stations in Unity with NAudio Library: Streaming Popular Radio Stations like SomaFM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published