SpeechRecognizer.UDPClient.UDPClient C# (CSharp) Method

UDPClient() public method

RTP Client for receiving an RTP stream containing a WAVE audio stream
public UDPClient ( int port ) : System
port int The port to listen on
return System
        public UDPClient(int port)
        {
            Console.WriteLine(" [UDPClient] Loading...");

            this.port = port;

            // Initialize the audio stream that will hold the data
            audioStream = new SpeechStreamer(AUDIO_BUFFER_SIZE);

            Console.WriteLine(" Done");
        }