Example #1
0
 public function listStreams($marker = NULL, $limit = NULL, $title_prefix = NULL, $status = NULL)
 {
     $result = Api::listStreams($this->_transport, $this->_hub, $marker, $limit, $title_prefix, $status);
     $streams = $result["items"];
     foreach ($streams as &$stream) {
         $stream = new Stream($this->_transport, $stream);
     }
     $result["items"] = $streams;
     unset($stream);
     return $result;
 }
Example #2
0
 public function snapshot($name, $format, $time = NULL, $notifyUrl = NULL, $pipeline = NULL)
 {
     return Api::streamSnapshot($this->_transport, $this->id, $name, $format, $time, $notifyUrl, $pipeline);
 }