private function _rtmpPublishBaseUrl() { $url = sprintf("rtmp://%s/%s/%s", $this->hosts["publish"]["rtmp"], $this->hub, $this->title); return $url; }