Example #1
0
    public override void Setup() {
      base.Setup();

      buffer = new StreamBuffer();

      int port = ConfigManager.GetInstance().Find("rtp.port", 7887);
      client = new RTPClient(port, buffer);
      client.StartClient();

      double confidence = ConfigManager.GetInstance().Find("rtp.confidence", 0.6);
      AddOnManager.GetInstance().AddAudioSource("RTP", buffer, "RTP", null, confidence);
    }
Example #2
0
        public override void Setup()
        {
            base.Setup();

            buffer = new StreamBuffer();

            int port = ConfigManager.GetInstance().Find("rtp.port", 7887);

            client = new RTPClient(port, buffer);
            client.StartClient();

            double confidence = ConfigManager.GetInstance().Find("rtp.confidence", 0.6);

            AddOnManager.GetInstance().AddAudioSource("RTP", buffer, "RTP", null, confidence);
        }