Results 1 to 3 of 3

Thread: monitoring incoming stream's bitrate not reliable?

  1. #1

    Default monitoring incoming stream's bitrate not reliable?


    In our custom module we implemented a monitor thread that checks every 4 seconds the bitrate of the incoming stream so in case the bitrate is too low or there is some kind of problem with the stream we can disconnect the broadcaster and move on.

    However after implementing this we noticed that good broadcasters were being dropped as well.
    I then changed it to just log when it thought it should disconnect based on bitrate and I saw that sometimes for 10-15 and sometimes up to a full minute the bitrate went down to 0 and then went back up.

    What I use to monitor the bitrate is the following:
    IMediaStream monitoredStream;
    monitoredStream = thisAppInstance.getStreams().getStream(STREAM_NAME);
    IOPerformanceCounter perf = monitoredStream.getMediaIOPerformance();
    Double bitrate = perf.getMessagesInBytesRate() * 8 * .001;

    Any idea how this can happen? Is there a more reliable way to monitor the incoming stream quality?


  2. #2


    I just want to add, that checking the recorded video did have frozen video where it was reported (audio was fine though) - does this method not take into consideration the audio bitrate?
    Also, I noticed that I got a report of two different incoming streams on the same wowza server that reported 0 bitrate at exactly the same time.

  3. #3
    Join Date
    Dec 2007

Similar Threads

  1. Video/Audio bitrate monitoring
    By nminwalla in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 02-10-2014, 05:24 PM
  2. Replies: 6
    Last Post: 11-02-2012, 12:51 PM
  3. Monitoring & Restricting Server Connections & Altering Video Bitrate
    By sgopalkr in forum Performance Tuning Discussion
    Replies: 15
    Last Post: 10-22-2012, 04:43 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