如何使用HTTPProvider在wowza媒体服务器模块中调用方法?

时间:2014-12-11 11:47:04

标签: java wowza

我正在尝试创建一个HTTPProvider来访问java模块中的方法。但我无法正确调用它。 这是我得到的错误: -

    at com.sparksupport.wowza.ModuleCheckStreamAndAutoRecordValidity.recordStream(ModuleCheckStreamAndAutoRecordValidity.java:93)
    at com.sparksupport.wowza.HTTPProviderToManageRecording.onHTTPRequest(HTTPProviderToManageRecording.java:99)
    at com.wowza.wms.http.HTTPRequestAdapter.service(HTTPRequestAdapter.java:33)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:641)
    at com.wowza.wms.server.ServerHandler.a(ServerHandler.java:375)
    at com.wowza.wms.server.ServerHandler.messageReceived(ServerHandler.java:487)
    at com.wowza.wms.server.ServerHandlerThreaded.messageReceived(ServerHandlerThreaded.java:78)
    at org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(AbstractIoFilterChain.java:181)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:511)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:42)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:786)
    at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:60)
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:177)
    at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:511)
    at org.apache.mina.common.support.AbstractIoFilterChain.access$900(AbstractIoFilterChain.java:42)
    at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:786)
    at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:247)
    at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:323)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
ModuleCheckStreamAndAutoRecordValidity is the module and HTTPProviderToManageRecording is my HTTPProvider. What I did is that, I have created an object of the module in my httpprovider and using that I invoke the method recordStream(arguments).

1 个答案:

答案 0 :(得分:0)

如果你没有得到你想要的答案,请在http://www.wowza.com/forums/forum.php或support@wowza.com上留言,Wowza团队会指出你正确的方向。

-Chris