Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,670
6,211
I would like to make a streaming audio service.

There are three main things that people will be doing:
1 - Uploading audio as they record it.
2 - Downloading audio as it's recorded.
3 - Downloading audio that was previously uploaded, whether the audio has actually finished being recorded or not.

I'm wondering... what kind of technologies should I be looking at for this? What languages/frameworks/libraries should I use to make the server portion of this? How well can I make this scale (or, better put, how many simultaneous users could I have with only my 2007 iMac or 2006 MacMini as servers? I figure I'll expand onto AWS if my userbase gets too large to support with just my personal machines for servers...)

I think I know how the client end (iOS) should work... it's the server end that I'm more confused about.
 
You can capture audio and save it straight through a browser using HTML5. Bandwidth would be your only issue ( since you want to capture the stream ).

A very quick search found this example:
https://creativcoders.wordpress.com...audio-stream-in-html5-with-echo-cancellation/

That linked page is all about the client end... I need something that runs on a server, so that it can be shared between users, Not something that runs on the user's actual devices. I figure I know enough about iOS to make the actual front end as a native app.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.