Hi, I’m just getting started with the Java API. I’m not sure what I’m doing wrong, as this is my first time trying to develop for this platform. Any help would be appreciated.
I have installed the IDE with eclipse, followed the transcoder guide, and am running the following versions:
Desktop machine:
Eclipse: 2020-09 (4.17.0)
Wowza IDE 4
Windows 10 pro
Streaming Server:
Fedora 32
Wowza Streaming Engine 4.8.5
Java 9.0.4 (bundled version)
I created a project with just the default java file from the wizard, compiled it, and restarted the streaming engine to get the engine to detect the .jar file. However, upon trying to start a stream, I received the error: Unknown action: connect
Upon reading the logs, I see this error:
REST API: Unknown action: connect Class: com.wowza.wms.rest.vhosts.streamfiles.StreamFileConfig: java.lang.reflect.InvocationTargetException|at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)|at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)|at java.base/java.lang.reflect.Method.invoke(Unknown Source)|at com.wowza.wms.rest.ActionBase.get(ActionBase.java:177)|at com.wowza.wms.rest.ActionBase.put(ActionBase.java:125)|at com.wowza.wms.rest.vhosts.streamfiles.StreamFileAction.put(StreamFileAction.java:60)|at org.restlet.resource.ServerResource.doHandle(ServerResource.java:434)|at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:666)|at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:348)|at org.restlet.resource.ServerResource.handle(ServerResource.java:1020)|at org.restlet.resource.Finder.handle(Finder.java:236)|at org.restlet.routing.Filter.doHandle(Filter.java:150)|at org.restlet.routing.Filter.handle(Filter.java:197)|