i just need an idea, not any code.I have done a chat script using ajax its working fine, now i need to integrate a voice chat module here, can anyone give me an idea about it ???
This post has been edited by samik: 15 March 2008 - 04:25 AM
i just need an idea, not any code.I have done a chat script using ajax its working fine, now i need to integrate a voice chat module here, can anyone give me an idea about it ???
hey samik..
can u tell me how u used multithreading in ajax chat..??i think multithreading is not possible in php..and real chat require two threads..listener and sender..so how did u implement it..?thanks in advance..cheers..
multi-threading is (as far as I know) not possible in php, but you can simulate it by sending lots and lots of requests to the server through AJAX and if something has been updated you return the new information from the server, it's not that very hard to do actually, you just have to realize how to do it!
When it comes to voice chat using PHP I think you would have to put the idea aside since PHP can't record any audio (or are we speaking different languages now? I translate voice chat to the type of chat where you actually speak into the microphone of your computer and the other person gets the audio?!)
If you want to make a real voice chat you would have to use flash or some other language that provides that functionality!
vimalswaminarayan, on 8 Jan, 2010 - 08:48 PM, said:
hey samik..
can u tell me how u used multithreading in ajax chat..??i think multithreading is not possible in php..and real chat require two threads..listener and sender..so how did u implement it..?thanks in advance..cheers..