1 Reply Latest reply on Aug 12, 2011 12:38 PM by csmaller

    Detecting END or Stream turned off in OSMF  -- Live Stream

    csmaller Level 1

      Hi all

      i am using the OSMF player to stream live events.  When the stream ends or if the feed is turned off the player throws a BUFFER state change which my code catches and shows a loading spinner, but how do i detect if the stream has ended or turned off while the user is watching?  Also will be helpfull if I want to post roll some ad or something.   I could mickey mouse it i guess if it throws BUFFER EMPTY and set a timer but there has to be an easier way to do this.