Results 1 to 3 of 3

Thread: Adaptive stream switch tracking

  1. #1
    Join Date
    Sep 2014

    Default Adaptive stream switch tracking

    I'm attempting to write a custom module to track when the different adaptive streams are requested (both for Cupertino and SmoothStreaming). I've created a module that extends ModuleBase, and I'm focusing on the methods

    onHTTPSmoothStreamingStreamerRequest (HTTPStreamerSessionSmoothStreamer httpSession, HTTPStreamerSmoothStreamingRequestContext reqContext)

    onHTTPCupertinoStreamerRequest (HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext)

    The problem is that the documentation on these methods is sparse, if not non-existent. I cannot get any output to my log files from any statements I put in these methods, which leads me to believe that they aren't being called.

    I've read this


    and this

    with no luck.

    Is there any better documentation available on these methods, or any working examples I can refer too?

  2. #2



    You do need to make sure you are running 4.1.0 at least for this to work. An example implementation would be

    public void onHTTPSmoothStreamingStreamerRequest(HTTPStreamerSessionSmoothStreamer httpSession, HTTPStreamerSmoothStreamingRequestContext reqContext)
           IHTTPRequest req = reqContext.getRequest();
           Map<String, String> map = req.getHeaderMap();
           // if the request is missing “my favorite header, reject the session
           if (!map.containsKey("my favorite header"))
    You will need to pull apart the request and headers to see what is being requested. You can also use the IVHostHTTPStreamerRequestValidator interface and a quick google did find some examples of implementing this.


  3. #3
    Join Date
    Sep 2014


    Thanks for the information, I was able to make some progress.

    However, I'm still not able to find what I'm looking for. I'm trying to determine which video file (as specified in the smil file) is being streamed. The log entries that I'm able to produce seem to either reference the smil file itself, or the individual chunks. Is there a way to get the info I'm looking for?

Similar Threads

  1. Tracking which bitrate quality a player is consuming (adaptive bitrate)
    By gauravmishra in forum Wowza Streaming Server Java API
    Replies: 12
    Last Post: 01-05-2015, 05:43 AM
  2. how to change the video switch timer in adaptive bitrate streaming
    By nickin in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 08-02-2013, 08:13 AM
  3. Handling Connection tracking
    By pixelsmith in forum General Forum
    Replies: 3
    Last Post: 07-27-2013, 10:49 PM
  4. User tracking of streamed media
    By ajhalls in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 06-05-2012, 01:39 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