examples.rtp
Class RTPDictationVoiceServer
java.lang.Object
|
+--examples.rtp.RTPDictationVoiceServer
- public class RTPDictationVoiceServer
- 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 speak into the microphone - the recognizer should respond
with what it thinks you said.
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 |
lh
public static java.lang.String lh
rtpRecoUrl
public static java.lang.String rtpRecoUrl
rtpSynthUrl
public static java.lang.String rtpSynthUrl
RTPDictationVoiceServer
public RTPDictationVoiceServer()
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()