github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

stigi / cocoa-soundcloud-streaming

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 11
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (1)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Library for the iPhone to enable progressive playback of MP3 streams. Designed to work for SoundCloud.com — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added a project specific .gitignore file to exclude the Dist directory. 
Please make sure to have the build directry & the other usual suspects in 
your global gitignore 
stigi (author)
Tue Dec 01 03:29:20 -0800 2009
commit  b3ad9082c3ac677d02ae874f5eb150fa19bac3f8
tree    3f8254aeaa922ec4fc8faa30ed2202de4272bf36
parent  cfb6bbf6fcb00dfaaad462d17149cd9fff03b868
cocoa-soundcloud-streaming /
name age
history
message
file .gitignore Tue Dec 01 03:29:20 -0800 2009 Added a project specific .gitignore file to exc... [stigi]
directory Additions/ Tue Nov 03 05:41:56 -0800 2009 initial checkin [stigi]
directory Classes/ Thu Nov 05 04:01:16 -0800 2009 added a demo app to demonstrate the usage of th... [stigi]
directory DemoApp/ Thu Nov 05 04:01:16 -0800 2009 added a demo app to demonstrate the usage of th... [stigi]
file README.markdown Thu Nov 05 04:06:00 -0800 2009 fixed typos in README.markdown [stigi]
directory SCAudioStream.xcodeproj/ Thu Nov 05 04:01:16 -0800 2009 added a demo app to demonstrate the usage of th... [stigi]
file SCAudioStream_Prefix.pch Tue Nov 03 05:41:56 -0800 2009 initial checkin [stigi]
README.markdown

Cocoa SoundCloud stream player

This is the extracted stream player I created for an iPhone project.
It's very basic in it's functionality and you're invited to add all the features that you might need.

Basic Usage

Including the lib into your project

You can either include the source files into your project or open the project and build the SCAudioStream target to get you a compiled version of the lib. The latter will result in a static lib as a fat binary (build for the device and the simulator) in a directory called Dist. Here you'll also find the header files for the lib (in fact it's just one header file SCAudioStream.h). Link the library and also link the AudioToolbox framework.

Using the lib

For every stream you want to play you create an instance of SCAudioStream.

SCAudioStream *stream = [[SCAudioStream alloc] initWithURL:streamURL delegate:self];

Don't forget to implement the delegate protocol SCAudioStreamDelegate. This protocol only specifies one method which is used to sign requests if you're about to play oauth protected streams.

Example

The XCode project contains a target called SCAudioStream DemoApp with its source in the DemoApp folder. This should give you a quick start on how to use the streaming api.

License

Copyright 2009 Ullrich Schäfer for SoundCloud Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server