开发者

JMF in a web-application on Tomcat

I created a web application that is using Java Media Framework. It runs in my unit tests and successfully finds the capturing devices. However when I deploy my application to Tomcat the same method returns an empty list of Capturing devices as if Tomcat is missing something that helps JM开发者_StackOverflowF to find media devices.

I suspect jmf.jar cannot find native dll's of JMF package, which somehow are visible in Eclipse but are not visible when application is deployed to Tomcat.

Can anyone give a hint how to deploy jmf correctly?

As example: this application http://sourceforge.net/projects/webjmf/ claims that it is working, however when war file is deployed to my Tomcat it cannot find any capturing devices.


Solution is to copy all JMF dll files into /bin directory. DLL files are native libraries that are used by jmf.jar to interact with Web Cam. So these libraries should be loaded by Tomcat.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜