Example #1
0
    /// <summary>
    /// RTP Client for receiving an RTP stream containing a WAVE audio stream
    /// </summary>
    /// <param name="port">The port to listen on</param>
    public RTPClient(int port) {
      WSRConfig.GetInstance().logInfo("RTPClient", "Loading...");

      this.port = port;

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

      WSRConfig.GetInstance().logInfo("RTPClient", "Done");
    }