/** * @return X_RtmpDump */ public static function getInstance() { if (self::$instance === null) { self::$instance = new X_RtmpDump(); } return self::$instance; }