-1

I am trying to set up the Cairo-0.3 project and my rserver.sh, receiver.sh and transmitter.sh are successfully running but when i try to run execute the demo-recog.sh (A demo program in cairo) i get :

Received an unhandled SIP response status code (ignoring it): 183 : Session progress

2012-07-16 18:01:31,931 INFO  {main} org.speechforge.cairo.demo.recog.RecognitionClient
 Received the SIP Response.  
2012-07-16 18:01:31,931 INFO  {main} org.speechforge.cairo.demo.recog.RecognitionClient  
  invite : org.speechforge.cairo.sip.SdpMessage@1e61363  
java.lang.NullPointerException  
2012-07-16 18:01:32,067 WARN  {Thread-7} org.speechforge.cairo.rtp.RTPPlayer  
 playSource(): encountered unexpected exception:    
javax.media.NoDataSourceException: Error instantiating class:   com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException  
    at javax.media.Manager.createDataSource(Manager.java:1012)  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:110)  
    at org.speechforge.cairo.rtp.NativeMediaClient$TransmitThread.run(NativeMediaClient.java:105)
 Exception in thread "Thread-7" java.lang.RuntimeException: playSource() encountered unexpected exception  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:153)  
    at org.speechforge.cairo.rtp.NativeMediaClient$TransmitThread.run(NativeMediaClient.java:105)
Caused by: javax.media.NoDataSourceException: Error instantiating class:   com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException  
    at javax.media.Manager.createDataSource(Manager.java:1012)  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:110)  
    ... 1 more  
2012-07-16 18:01:42,085 WARN  {main} org.speechforge.cairo.demo.recog.RecognitionClient
 org.mrcp4j.client.MrcpInvocationException: MRCP response contains an error code, the request invocation did not complete successfully.

org.mrcp4j.client.MrcpInvocationException: MRCP response contains an error code, the request invocation did not complete successfully.  
    at org.mrcp4j.client.MrcpChannel.sendRequest(MrcpChannel.java:143)
    at   org.speechforge.cairo.demo.recog.RecognitionClient.doRecognize(RecognitionClient.java:163)
    at   org.speechforge.cairo.demo.recog.RecognitionClient.main(RecognitionClient.java:346)

2012-07-16 18:01:42,091 INFO  {main} org.speechforge.cairo.sip.SimpleSipAgent
 Sent a SIP BYE.

I am not able to understand what i am doing wrong here.

4

1 回答 1

0

您需要安装和配置 Java Media Framework 才能运行此软件。请参阅 README 中的安装说明:

安装

  1. 解压 Cairo 要安装 Cairo,将二进制分发存档中的所有文件解压缩到您的 ch 目录
  2. 下载并安装 JMF 2.1.1 Cairo 需要 Java Media Framework (JMF) 版本 2.1.1。可在此处下载:http:
    //java.sun.com/products/java-media/jmf/2.1.1/download.html
    下载并运行与您的特定操作系统对应的 JMF 安装程序。这将
于 2012-07-17T13:54:16.070 回答