Results 1 to 3 of 3

Thread: How to detect stream is 'ready' for playing from Wowza

  1. #1

    Default How to detect stream is 'ready' for playing from Wowza

    Hi there,

    I have an interesting scenario where I have some live feeds from cameras that are 'started' on demand.

    In a nutshell.

    Call is made from client (in this case iPhone) to server.
    Server starts a specific stream from a live source (IP Camera)
    First the transcoder starts (Gstreamer | ffmpeg) and is then pipe to a stream that is started on the fly through jmxcl.

    This all works (hurrah!) except there is obviously some lag between when the call is made to start the show and when the stream is ready to be played. Some times as little as 5 seconds, some times as much as 15 seconds.

    Instead of trying to guesstimate the time to then hand the stream URL to the iOS player framework, is there some call that I can make to Wowza so I know that the stream is 'ready' and passing on data?

    Would jmxcl getIOInByteRate be useful in this instance do you think? Or is there some other way that I can detect the stream is 'ready'.

    If it is not ready, and I pass the URL to the iOS media player, I just get a broken video icon.

    Any thoughts?


  2. #2
    Join Date
    Dec 2007


    It is best to pre-start streams that you want to stream to HTTP clients (iOS, Silverlight and Flash HTTP) but here is a recent thread about doing it this way

    Of course there is going to be added start time for the 1st client.

    The open question here and in that thread is, how to detect if the stream is started. I'm not sure, but I think one of, or combo of, IMediaCasterNotify2, IMediaCasterValidateMediaCaster, and this example:

    Last edited by rrlanham; 05-18-2012 at 08:18 AM.

  3. #3


    Thanks I will look into this further.

Similar Threads

  1. Detect if a stream goes online or offline
    By rubensd in forum Server-side Modules and Code Samples Discussion
    Replies: 14
    Last Post: 05-08-2013, 02:21 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