Skip to content

AstralSkies/RadioUnityStream

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

๐ŸŽต 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! ๐ŸŽถ


๐Ÿšจ 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