examples.rtp
Class RTPCommandVoiceServer

java.lang.Object
  |
  +--examples.rtp.RTPCommandVoiceServer

public class RTPCommandVoiceServer
extends java.lang.Object

Creates a Recognizer which listens to an incoming RTP stream and replies with synthesized speech on a separate RTP stream - to send the RTP stream to the recognizer and hear it's response, start up the CaptureAndPlay class, then this class, then say "what date/time is it", or "goodbye computer".


Field Summary
static java.lang.String rtpRecoUrl
           
static java.lang.String rtpSynthUrl
           
 
Constructor Summary
RTPCommandVoiceServer()
          Creates a new instance of RTPCommandVoiceServer
 
Method Summary
 void close()
           
 void listen()
          Allocates a recognizer, listening on an RTP port.
static void main(java.lang.String[] args)
           
 void setupSynth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rtpRecoUrl

public static java.lang.String rtpRecoUrl

rtpSynthUrl

public static java.lang.String rtpSynthUrl
Constructor Detail

RTPCommandVoiceServer

public RTPCommandVoiceServer()
Creates a new instance of RTPCommandVoiceServer
Method Detail

main

public static void main(java.lang.String[] args)

listen

public void listen()
Allocates a recognizer, listening on an RTP port.

setupSynth

public void setupSynth()

close

public void close()