1 Reply Latest reply on Feb 1, 2013 10:08 AM by sinious

    Voice chat Problem


      Hi i am working on Peer to Peer chat Application, when i do one to one voice chat or multiple voice chat, it doesn't work, I mean to say sometime other's can listen my voice and vise a versa, but sometime my voice gets break or cut off   might be due to streaming problem or something else i don't know?? what is the problem not getting it.

      Here is the code for my microphone which i have used


                                              _mic = Microphone.getMicrophone();



                                              try {






                                                        _mic.codec = SoundCodec.NELLYMOSER;

                                                        _mic.setSilenceLevel(0, 4000);


                                                    } catch (e:Error) {

                                                        trace("no mic detected")



      Thanks in Advanced


      Message was edited by: Ankit_Gupta

        • 1. Re: Voice chat Problem
          sinious Most Valuable Participant

          Could be several things. Poor internet connectivity, poor data streaming code (not shown here), silence level set to 0 meaning it will basically stream non-stop unless you live in space (at least use 10), lack of codec support on the receiving end, etc etc. Need more information to diagnose.