Results 1 to 5 of 5

Thread: Funny client count stats!

  1. #1

    Default Funny client count stats!


    I have the following code:

    int count = (int)app.getClientCount();

    And it turns out, that only RTMP viewers are counted. When looking at Adobe HDS or Apple HTTP streaming, they are not counted. How can I see connection count?


  2. #2



    You use appInstance.getHTTPStreamerSessionCount(); for a count of all HTTP sessions.

    For RTP sessions, you can use appInstance.getRTPSessionCount();


  3. #3


    Is there some global : getAllConnectionCount?

  4. #4



    You can use appInstance.getConnectionCounter().getCurrent(). This will return the current count for all connections combined.


  5. Default

    hi Atampuri, in my Measure module, that allows you to log player counts per stream/application/technology level, and which you can install and use if you like that) I get player counts with this code, I can recommend this:

    Map<String, Integer> flashCounts = appInstance.getPlayStreamCountsByName();
    Map<String, Integer> smoothCounts = appInstance.getHTTPStreamerSessionCountsByName(IHTTPStreamerSession.SESSIONPROTOCOL_SMOOTHSTREAMING) ;
    Map<String, Integer> cupertinoCounts = appInstance.getHTTPStreamerSessionCountsByName(IHTTPStreamerSession.SESSIONPROTOCOL_CUPERTINOSTREAMI NG);
    Map<String, Integer> sanjoseCounts = appInstance.getHTTPStreamerSessionCountsByName(IHTTPStreamerSession.SESSIONPROTOCOL_SANJOSESTREAMING );
    Map<String, Integer> mpegCounts = appInstance.getHTTPStreamerSessionCountsByName(IHTTPStreamerSession.SESSIONPROTOCOL_MPEGDASHSTREAMIN G);
    Map<String, Integer> rtspCounts = appInstance.getRTPSessionCountsByName();
    When working with Wowza API, I found that the most promising general methods usually only apply to RTMP clients. It feels like the first versions of Wowza only had them and they did not change the api when new streaming types were added.
    Last edited by andrew_k; 07-08-2014 at 01:43 AM.

Similar Threads

  1. stats
    By vision in forum General Forum
    Replies: 3
    Last Post: 09-03-2013, 06:10 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