Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: total bandwidth usage from stat log file

  1. #1

    Default total bandwidth usage from stat log file

    hi

    how to calculate total bandwidth from stat log file for live streaming.. i got cs-bytes,sc-bytes,cs-stream-bytes,sc-stream-bytes for following....

    INFO session connect-pending
    INFO session connect
    INFO stream create
    INFO stream play
    INFO stream stop
    INFO stream destroy
    INFO session disconnect

    i have to add all these bytes........? can anyone guide me?

  2. #2
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    No, data is cumulative. Use "stream stop" or "stream destroy" for totals in sc-stream-bytes and x-duration, etc.

    Richard

  3. #3

  4. #4
    Join Date
    Sep 2009
    Posts
    27

    Default

    What is the difference between "destroy" and "stop"?

    I noticed that in some cases "destroy" and "stop" come up in the log file, and other times only "stop" appears.

  5. #5
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    There's a logging chapter in the User Guide with tables of definitions:

    stop
    Play has stopped on a stream
    create
    Media or data stream created
    destroy
    Media or data stream destroyed

    Richard

  6. #6
    Join Date
    Sep 2009
    Posts
    27

    Default

    Thanks Richard,

    From my experience, it seems like stop is the best log entry to determine cumulative bandwidth. I haven't figured out why some events cause both the stop and destroy entries, while all events log a stop entry.

  7. #7
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    To be thorough, you can't necessarily count on these events. You could pull the plug on a server, and even under normal conditions there might be exceptions. The real total cumulative data for a session is in the last log row in date/time order for a client-id, whatever event that is.

    Richard

  8. #8

    Default

    Hallo

    You could also look at using CasterStats a log analyzer designed for broadcasters which now fully supports Wowza Media Server. See http://www.casterstats.com/wowza_stats.php for more information.

    Hazel

  9. #9
    Join Date
    Dec 2007
    Posts
    25,640

    Default

    Hazel,

    Can you write up a simple (as possible) guide to setting up CasterStats to use with Wowza? You can put it in the Showcase forum for now:

    http://www.wowzamedia.com/forums/for...hp?44-Showcase

    Thanks,
    Richard

  10. #10

    Default

    Will do!
    Quote Originally Posted by rrlanham View Post
    Hazel,

    Can you write up a simple (as possible) guide to setting up CasterStats to use with Wowza? You can put it in the Showcase forum for now:

    http://www.wowzamedia.com/forums/for...hp?44-Showcase

    Thanks,
    Richard

Page 1 of 2 12 LastLast

Posting Permissions

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