dlebowski Posted May 18, 2009 Share Posted May 18, 2009 I am having a hard time finding anything online that explains what I would need to do to stream live audio on my website. For example, I want one user to be able to talk into the mic plugged into their computer and someone on the other end to hear it real time (or very close to real time). Does anyone have any idea have to set this up on a dedicated server. I do not want to use a third party application to do that. Any help would be great. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/ Share on other sites More sharing options...
corbin Posted May 20, 2009 Share Posted May 20, 2009 You don't want to use 3rd party applications at all? Basically the server just acts as a man in the middle that echos everything from the person talking, then there's a Flash applet or something that plays the actual data. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/#findComment-837792 Share on other sites More sharing options...
dlebowski Posted May 20, 2009 Author Share Posted May 20, 2009 Hi Corbin. I understand the concept of how it works. I just need to know how to implement it. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/#findComment-837801 Share on other sites More sharing options...
corbin Posted May 22, 2009 Share Posted May 22, 2009 You will need to write two client applications (or you could just do one and give both people the ability to talk). Then you will need to write a server application (unless the clients are directly connected). I don't know how much more specific I can get than that without going into detail. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/#findComment-839712 Share on other sites More sharing options...
gerkintrigg Posted May 22, 2009 Share Posted May 22, 2009 I did this once with a file-sharing, chat system I wrote back at the end of the last century (In Pascall though) which used a ping to get the I.P. address of each client, request the other user's I.P. from an online database, then contact it with a passcode (the encryption algorythm should have been patented... Grrr) and eventually a connection was established to bypass the server all-together. It was kinda a fore-runner to MSN Messenger... I sent it off to Microsoft actually... but that's another story. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/#findComment-840235 Share on other sites More sharing options...
corbin Posted May 23, 2009 Share Posted May 23, 2009 gerkintrigg, I doubt MS stole your idea >.<. Hate to tell you this, but IRC has been around since like the early 90s or something. (Just googled. According to Wikipedia, it's been around since '88.) Seems to me that a better client would follow, and eventually something using a different protocol would come along. Quote Link to comment https://forums.phpfreaks.com/topic/158631-live-audio-streaming/#findComment-840506 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.