       urlParsed = null;
       ns = null;
       client.stop();
-      this.callAPI('streamStopped');
       this.currentState = "stopped";
       this.streamHasAudio = false;
       this.streamHasVideo = false;

    private function onStopped(ev:ClientEvent):void {
      video.clear();
      client = null;
      if (urlParsed) {
        start();
      }

  public class Player extends Sprite {
    private static const EVENT_STREAM_STARTED:String  = "streamStarted";
    private static const EVENT_STREAM_PAUSED:String  = "streamPaused";
    private static const EVENT_STREAM_STOPPED:String  = "streamStopped";
    private static const EVENT_FULLSCREEN_ENTERED:String  = "fullscreenEntered";
    private static const EVENT_FULLSCREEN_EXITED:String  = "fullscreenExited";

