Big idea for streaming mp3's
Posted: Wed Oct 29, 2003 7:34 pm
I have a big idea, but I'm not quite sure if it's possible. I want to write an application in php for sharing music. Now, this is not just any music sharing software, it's very special. I want to implement the ability for two people to stream mp3 sound to each-other. For instance, I'm talking to my buddy on ICQ and I say, hey you've gotta here this song. From there we both go to the website that is hosting the application. I than upload the mp3 song to the server and my buddy can stream the music to his computer.
Sure this is nothing special yet, but this is where my difficulty begins. I don't want to use any external software. I would use Flash to play the mp3's, and the server would take care of listing all available songs. My issue is getting the music from my computer to my buddies in a small period of time. Flash 6 will stream an mp3 url, so my problem is streaming the upload so that the Flash client can begin to stream the music before the file is finished uploading to the server. I don't know of anyway to bypass the server and stream directly from client to client without external software, but I figure there is a way to stream an upload with php so that the file is saved on the server periodically during the upload. Any ideas?
Thanks
Sure this is nothing special yet, but this is where my difficulty begins. I don't want to use any external software. I would use Flash to play the mp3's, and the server would take care of listing all available songs. My issue is getting the music from my computer to my buddies in a small period of time. Flash 6 will stream an mp3 url, so my problem is streaming the upload so that the Flash client can begin to stream the music before the file is finished uploading to the server. I don't know of anyway to bypass the server and stream directly from client to client without external software, but I figure there is a way to stream an upload with php so that the file is saved on the server periodically during the upload. Any ideas?
Thanks