Results 1 to 2 of 2

Thread: Invalidate Cupertino session during its life

  1. #1
    Join Date
    Dec 2011

    Default Invalidate Cupertino session during its life

    I created livestream app which is using wowza as streaming server, and create own wowza security module.
    Until now i override ModuleBase.onHTTPCupertinoStreamingSessionCreate and ModuleBase.onHTTPCupertinoStreamingSessionDestroy which allow to reject/accept Cupertino session according ... in my case token(passed as url param).
    Everything works fine.
    But sometimes i need to reject same session(previously accepted) during its life. With other words during play sometimes I need to invalidate token
    The problem is that onHTTPCupertinoStreamingSessionCreate is called only once at the beginning of session.
    I'm not sure which class should i override in order to invalidate sessions during its life. Maybe HTTPStreamerAdapterCupertinoStreamer or specially onPlaylist or onMediaFile methods

  2. #2
    Join Date
    May 2013



    To have mid-life access to the http session, take a look at our following method signatures available to you:
           public void onHTTPStreamerRequest(IHTTPStreamerSession httpSession, IHTTPStreamerRequestContext reqContext)
           public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext)
           public void onHTTPSanJoseStreamerRequest(HTTPStreamerSessionSanJose httpSession, HTTPStreamerSanJoseRequestContext reqContext)
           public void onHTTPSmoothStreamingStreamerRequest(HTTPStreamerSessionSmoothStreamer httpSession, HTTPStreamerSmoothStreamingRequestContext reqContext)
           public void onHTTPMPEGDashStreamerRequest(HTTPStreamerSessionMPEGDash httpSession, HTTPStreamerMPEGDashRequestContext reqContext)
    The above are invoked (as protocol specifies) for each request (chunk or playlist etc). The generic handler (onHTTPStreamerRequest) will be for *all* http protocols.


Similar Threads

  1. Smoothstreaming session not entering onHTTPSessionCreate(IHTTPStreamerSession session
    By f.hernandez.b in forum Wowza Streaming Server Java API
    Replies: 3
    Last Post: 08-28-2015, 05:04 AM
  2. Invalidate perpetual licence key
    By jaro.cech in forum Wowza Streaming Engine functionality
    Replies: 1
    Last Post: 02-10-2014, 05:08 PM

Posting Permissions

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