4 Replies Latest reply on Apr 23, 2010 4:34 PM by bringrags

    Distinguishing NetStream.Play.StreamNotFound from a NetConnection error

    bdefore

      In the OSMF framework, what is the recommended way to determine the difference between a NetStream.Play.StreamNotFound NetStatusEvent from a NetConnection error? I've seen reference, for example here: http://forums.adobe.com/thread/543793?tstart=-1 to MediaErrorEvent.MEDIA_ERROR and MediaPlayerStateChangeEvent.MEDIA_PLAYER_STATE_CHANGE, but not the specifics on what we should be expecting in order to differentiate the two.

       

      I'd like to be able to present a different error to the user in case they are failing to stream or if they are just streaming to the wrong stream name.