Results 1 to 4 of 4

Thread: Module that every 10 seconds logs the number of viewers of a stream and metadata info

  1. #1

    Default Module that every 10 seconds logs the number of viewers of a stream and metadata info


    This forum post has moved to the following article:

    http://www.wowzamedia.com/forums/content.php?142

    Enjoy,
    The Wowza Team
    Last edited by charlie; 10-04-2010 at 11:32 AM.

  2. #2

    Default

    I'm using a similar module to draw a graph displaying current connection count while streaming live.
    Could it be possible to distinguish platforms (http, rtsp and rtmp) ?

    Thank you.

  3. #3
    Join Date
    Apr 2010
    Posts
    209

    Default

    I cant find anything in the access log. Where should it be?

    I added this to my Application.xml:
    <Module>
    <Name>ModuleLogViewerCounts</Name>
    <Description>ModuleLogViewerCounts</Description>
    <Class>com.wowza.wms.plugin.collection.module.Modu leLogViewerCounts</Class>
    </Module>

    and restarted the server.
    The wms-plugin-collection.jar file was already in the lib directory.

    Did I miss anything?

  4. #4
    Join Date
    Dec 2007
    Posts
    25,642

    Default

    The output looks like this:

    INFO stream listeners myStream {viewers: "1", audiocodecid: ".mp3", videokeyframe_frequency: "2.0", avclevel: "30.0", videodevice: "Integrated Webcam", keywords: "", audiosamplerate: "22050.0", audiochannels: "2.0", width: "320.0", videodatarate: "200.0", presetname: "Custom", copyright: "", audioinputvolume: "75.0", creationdate: "Tue Sep 07 07:17:00 2010
    ", videocodecid: "avc1", author: "", audiodevice: "Microphone Array (IDT High Defi", avcprofile: "66.0", title: "", audiodatarate: "64.0", height: "240.0", description: "", rating: "", framerate: "20.0"}
    You need to have at least one subscriber.

    Richard

Posting Permissions

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