|
|
1) Write and compile your PlugIn. 2) Add your PlugIn to the CLASSPATH. 3) If you PlugIn uses any native code, add the native library to the PATH. There's no magic here. These are just general guidelines to run any java code. Beyond these, there are a couple of other things that you should pay attention to: 4) Make sure you define your PlugIn class as "public": public class MyPlugIn implements Codec { } Without defining your class as "public", classes from another package (javax.media.PlugInManager) will not be able to instantiate your PlugIn class. 5) Register the PlugIn with JMFRegistry or by using the JMF API. For directions to use JMFRegistry, check: http://java.sun.com/products/java-media/jmf/2.1.1/jmfregistry/jmfregistry.html.
If you have any comments that you would like to add please email us. |
last modified: Friday, 18. February 2005 |