 
     public function streamStatus():Object {
       var status:Object = {
-        'fps': Math.floor(this.ns.currentFPS + 0.5),
-        'resolution': meta.width + 'x' + meta.height,
-        'playbackSpeed': 1.0,
-        'protocol': this.urlParsed.protocol,
-        'audio': true,
-        'video': true,
-        'state': 'playing',
+        'fps': (this.ns) ? Math.floor(this.ns.currentFPS + 0.5) : null,
+        'resolution': (this.ns) ? (meta.width + 'x' + meta.height) : null,
+        'playbackSpeed': (this.ns) ? 1.0 : null,
+        'protocol': (this.urlParsed) ? this.urlParsed.protocol: null,
+        'audio': null,
+        'video': null,
+        'state': this.currentState,
         'isSeekable': false,
         'isPlaybackSpeedChangeable': false,
-        'streamURL': this.urlParsed.full
+        'streamURL': (this.urlParsed) ? this.urlParsed.full : null
       };
 
       return status;

    private var urlParsed:Object;
    private var savedSpeakerVolume:Number;
    private var fullscreenAllowed:Boolean = true;

    public function Player() {
      var self:Player = this;

    public function pause():void {
      client.pause();
      this.callAPI('streamPaused');
      this.currentState = "Paused";
    }

    public function resume():void {
