Skip navigation
Currently Being Moderated

Voice chat Problem

Feb 1, 2013 4:36 AM

Tags: #as3.0 #flex_4.5.1 #flex_4.5 #flex_4.6 #actionscrpt3.0

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

  • Currently Being Moderated
    Feb 1, 2013 10:08 AM   in reply to Ankit_Gupta

    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.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points