Hi,
don’t working compile in wowza 4 (ams 3.6 work fine)
mac + eclipse +ide2
1.create simple project
public class Start extends ModuleBase {
public void onAppStart(IApplicationInstance appInstance) {
String fullname = appInstance.getApplication().getName() + "/"
+ appInstance.getName();
getLogger().info("onAppStart: " + fullname);
}
public void onAppStop(IApplicationInstance appInstance) {
String fullname = appInstance.getApplication().getName() + "/"
+ appInstance.getName();
getLogger().info("onAppStop: " + fullname);
}
public void onConnect(IClient client, RequestFunction function,
AMFDataList params) {
getLogger().info("onConnect: " + client.getClientId());
}
}
- try compile
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at java.util.Properties.setProperty(Properties.java:143)
at java.lang.System.setProperty(System.java:745)
at com.wowza.wms.bootstrap.Bootstrap.resolveServerHome(Bootstrap.java:1383)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:61)