Coder Social home page Coder Social logo

radio's Introduction

Radio

Radio is an open-source wrapper to play Icecast Internet radio stations on iOS.

Description

This project is the streaming part of the Radio Javan app. The code here streams an Icecast stream (based on the URL), plays out the music to the audio device using Core Audio, and reads the metadata from the stream as the now playing title changes.

This code was initially written 5 years ago when the iOS SDK was first introduced. It's still used in production on a very popular app with hundreds of thousands of users.

Radio has been recently updated to support

  • ARC
  • 64-bit compiles
  • iOS7 audio APIs

Usage

You can create an instance of Radio:

radio = [[Radio alloc] init];

Then connect to an Icecast stream:

[radio connect:@"http://stream.radiojavan.com" withDelegate:self withGain:(1.0)];

The example in RadioViewController shows how to use the Radio class and also use the delegate callbacks to update the view, handle interruptions, buffering, connection issues, etc

Requirements

Latest iOS SDK (7.0+)

License

Radio is available under the MIT license. See the LICENSE file for more info.

Credits

Created by Hamed Hashemi

radio's People

Contributors

hamedh avatar robertmryan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.