Thank you for your help. In fact I have no idea about it. I don’t know if I configure the Libjitsi right.
I can’t even run the basic examples from Libjitsi webpage: AVTransmit2 and AVReceive2.
Here is what I do configuring library:
1. Create a project and add libjitsi.jar in referenced libraries. I also set the native library to local path in libjitsi’s folder “lib/natvie/windows”.
2. Set correct arguments: --local-port-base=16290 --remote-host=127.0.0.1 --remote-port-base=16291
and VM arguments:
I also set the environment as following like (https://jitsi.org/Documentation/ConfigureEclipseNew):
In the "Environment" tab of the configuration add a new variable called path and let it point to the system path and additionally to the library path for your system.
For Windows this is %path%;./lib/native/windows.
After doing this, I run AVTransmit2, the exception in console is:
Exception in thread "main" java.lang.NullPointerException
It should be because it can get proper return when it runs:
MediaService mediaService = LibJitsi.getMediaService();
I look into Libjitsi.class but I have no idea why this will happen.
Will be possible that libjitsi need more configuration before running the example?
Thank you very much.
在 2013年12月29日，6:58，Ingo Bauersachs <email@example.com> 写道：
Thank you for your help. It looks like the configuration works.
LibJitsi.start() goes well now.
But I am applying JNIEncoder in package
org.jitsi.impl.neomedia.codec.video.h264.* as a plugin for JMF. I check
functions it provide, it should be compatible. However, when I add it into
the plugin manager and start capture, there is a exception like:
Exception in thread "JMF thread: com.sun.media.ProcessEngine@ca8f43[
com.sun.media.ProcessEngine@ca8f43 ] ( realizeThread)"
I check ConfigurationServiceImpl class. But I still don't know why this
exception happened. The line 381 of ConfigurationServiceImpl is:
result = store.getProperty(propertyName);
The exception is null pointer exception, so I think the store is NULL when
call this function. However, I have no idea about when the "store" is
initialized. Do I need to do some configuration before I use JNIEncoder?
Please try to debug why ConfigurationServiceImpl.createConfigurationFile()
fails to assign the store. There should be no need to configure the
Thank you very much.
dev mailing list
Unsubscribe instructions and other list options: