Results 1 to 8 of 8

Thread: Documentation for ModuleBase

  1. #1

    Default Documentation for ModuleBase

    Hi,

    As I can see from numerous examples around your forum and in your articles, when writing a module you should subclass ModuleBase and when doing so, you get all sorts of application and client events available, like onAppStart, onAppStop, onConnect etc. That's all good, but I don't see this documented anywhere (http://www.wowza.com/resources/serve...oduleBase.html). I'm interested in knowing all of the events available to me. I can see the Interfaces are documented eg. IModuleOnApp (http://www.wowza.com/resources/serve...duleOnApp.html), but in this doc it states that the onAppStart and onAppStop must be implemented as static methods, but non of your examples does this. So what's up and what's down here? It there something I'm missing? Please fill me in, if so.

    K

  2. #2

    Default

    Hello there and welcome to the Wowza support forum.

    The documentation for the IModuleOnApp interface is saying that a module can not directly implement the IModuleOnApp interface. Instead the interface only serves as an example of the method names and call signature needed to implement these application methods.

    I hope this answers your question.

    Kind regards,

    Salvadore

  3. #3

    Default

    Hi Salvadore,

    Thank you very much for the welcome.

    Nope, it dosen't answer my question at all. My main issue is still that I can get an overview over which events are called on a ModuleBase subclass. Can you please refer me to a page documenting this?

    K

  4. #4

    Default

    Hi,

    So most the functions which are extendable are

    onAppCreate
    onAppDestroy
    onAppStart
    onAppStop
    onConnect
    onDisconnect
    onConnectAccept
    onConnectReject
    onStreamCreate
    onStreamDestroy
    onHTTPSessionCreate
    onHTTPSessionDestroy
    onHTTPStreamerRequest
    onHTTPCupertinoStreamingSessionCreate
    onHTTPCupertinoStreamingSessionDestroy
    onHTTPCupertinoStreamerRequest
    onHTTPSanJoseStreamingSessionCreate
    onHTTPSanJoseStreamingSessionDestroy
    onHTTPSanJoseStreamerRequest
    onHTTPSmoothStreamingSessionCreate
    onHTTPSmoothStreamingSessionDestroy
    onHTTPSmoothStreamingStreamerRequest
    onHTTPMPEGDashStreamingSessionCreate
    onHTTPMPEGDashStreamingSessionDestroy
    onHTTPMPEGDashStreamerRequest
    onRTPSessionCreate
    onRTPSessionDestroy

    These then have other notifiers which can be extended

    So for example onStreamCreate and Destroy

    IMediaStreamActionNotify2-example

    and onRTPSessionCreate and onRTPSessionDestroy

    How-to-use-the-IRTSPActionNotify-interface-to-listen-for-RTSP-stream-events

    There are also DRM functions which I have not included and can be found in additional tutorials.

    Andrew.

  5. #5

    Default

    Hi Andrew,

    Dont you have this documented somewhere, with maybe an outline of what and when the different methods are called, even though they are somewhat self-explanatory? I need to know about parameter input etc.

    It's always good with examples, but it never gives you the full picture of what is possible. What I'm basically asking is; don't you have some extensive documentation on your Java SDK? Cause what I linked to in my initial post seems old or outdated. Maybe not done?

    K
    Last edited by kasperkronborg; 01-08-2015 at 06:13 AM.

  6. #6

    Default

    Hi,

    If you look at page 962 onwards of the WowzaStreamingEngine_ServerSideAPI.pdf then it does outline all the functions available within the Module Base.

    Andrew.

  7. #7

    Default

    Hi Andrew,

    Is it this one you are referring to: http://www.wowza.com/resources/Wowza...erSideAPI.pdf? I don't see anything about ModuleBase from page 962 an onwards.

    K

  8. #8

    Default

    Perhaps page 978 on that version. I was looking in the 4.1.0 version

    You can also search for

    com.wowza.wms.module

    As it may be different on each PDF as we add more information per revision.

    Andrew.

Similar Threads

  1. all events supported by ModuleBase ?
    By rodislav in forum Wowza Streaming Server Java API
    Replies: 4
    Last Post: 09-25-2014, 08:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •