返回信息流求助:一个老问题,关于音频的问题: try {
Registry.commit();
System.out.println("JMF注册成功!!" +
"CAO");
}catch (Exception e) {
System.out.println("尼玛commit爆出的错误");
e.printStackTrace();
}
报异常n: Can't find registry file
at com.sun.media.util.Registry.commit(Registry.java:255)
at org.jivesoftware.smackx.jingle.mediaimpl.JMFInit.<init>(JMFInit.java:52)
at org.jivesoftware.smackx.jingle.mediaimpl.jspeex.SpeexMediaManager.setupJMF(SpeexMediaManager.java:115)
at org.jivesoftware.smackx.jingle.mediaimpl.jspeex.SpeexMediaManager.<init>(SpeexMediaManager.java:47)
at org.jivesoftware.sparkplugin.JinglePlugin$1.construct(JinglePlugin.java:112)
at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131)
at java.lang.Thread.run(Thread.java:662)
在winxp正常在win7不行啊
源代码块下面:
public JMFInit(String[] args, boolean visible) {
super("Initializing JMF...");
this.visible = visible;
Registry.set("secure.allowCaptureFromApplets", true);
Registry.set("secure.allowSaveFileFromApplets", true);
updateTemp(args);
try {
Registry.commit();
System.out.println("JMF注册成功!!" +
"CAO");
}catch (Exception e) {
System.out.println("尼玛commit爆出的错误");
e.printStackTrace();
}
Thread detectThread = new Thread(this);
detectThread.run();
}
这是一条镜像帖。来源:北邮人论坛 / java / #42422同步于 2015/7/6
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖
java 比较老的一个问题,大神不要错过
tangbaozheng
2015/7/6镜像同步6 回复
订阅后,新回复会通过你的通知中心匿名送达。
6 条回复
【 在 tangbaozheng 的大作中提到: 】
: 求助:一个老问题,关于音频的问题: try {
: Registry.commit();
: System.out.println("JMF注册成功!!" +
: ...................
爱莫能助,要不你看看这个
附件(2.9MB) jmf2_0-guide.pdf
同求同求。。。
【 在 tangbaozheng 的大作中提到: 】
: 求助:一个老问题,关于音频的问题: try {
: Registry.commit();
: System.out.println("JMF注册成功!!" +
: ...................