title: OSMF/ActionScript 3 - detecting the end of a live RTMP stream, etc
body: <p>What's the best way to check whether there is video data (or not) in a live RTMP stream? For example, if a broadcast terminates, can I auto-detect that condition, to perform some sort of "thank you for watching" behavior?</p>
  
  <p>Also, how can I know if a visitor somehow gets disconnected from the Internet during the broadcast? (So I can notify the visitor of the problem, and give instruction.)</p>
  
  <p>Thanks for any help with this!</p>