public Stream info ( ) throws PiliException { try { String resp = cli . callWithGet ( baseUrl ) ; StreamInfo ret = gson . fromJson ( resp , StreamInfo . class ) ; ret . setMeta ( info . getHub ( ) , info . getKey ( ) ) ; this . info = ret ; return this ; } catch ( PiliException e ) { throw e ; } catch ( Exception e ) { throw new PiliException ( e ) ; } }
fetch stream info