I install Wowza 4.1.0 Trial, on server : Win 8 x64, jdk1.8.0_20
I wrote the module and added to application. Wowza is launched without errors.
When I launch a stream on client some module methods are called without errors, but some methods aren’t called and logs there are errors:
2014-09-24 12:47:35 YEKT comment server ERROR 500 - invoke(onConnect): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:369)| _defaultVHost_ cams _definst_ 14.117
2014-09-24 12:47:35 YEKT comment server ERROR 500 - invoke(onStreamCreate): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:383)| - - - 14.159
Signature methods in my module:
public void onConnect(com.wowza.wms.client.IClient iClient, com.wowza.wms.request.RequestFunction requestFunction, com.wowza.wms.amf.AMFDataList amfDataList) {...
public void onStreamCreate(IMediaStream stream) {...
Thanks for your time!