0 Replies Latest reply on Oct 15, 2009 4:00 AM by kkc_mca

    How to play audio data from socket

    kkc_mca Level 2

      Hi ALL


      I am able a establish a connection with socket and receiving data


      The data which I am receiving is audio data


      How to play that audio data from socket


      private function socketDataHandler(event:ProgressEvent):void

                      while(socket.bytesAvailable) {
                          Alert.show("socketDataHandler socket read bytes "+ socket.readByte());


      Any help appreciated


      Thanks in advance.