original_string: public function addPublishToAdress($stream, $rtmp_adress, $clientid, $new_name, $type = 'publisher', $srv = null)
      {
          return $this->redirect(
              $stream->getRtmpApp(),
              $stream->getUniqID(),
              $rtmp_adress,
              $clientid,
              $new_name,
              $type,
              $srv
          );
      }
code: public function addPublishToAdress($stream, $rtmp_adress, $clientid, $new_name, $type = 'publisher', $srv = null)
      {
          return $this->redirect(
              $stream->getRtmpApp(),
              $stream->getUniqID(),
              $rtmp_adress,
              $clientid,
              $new_name,
              $type,
              $srv
          );
      }
code_tokens: public function addPublishToAdress ( $ stream , $ rtmp_adress , $ clientid , $ new_name , $ type = 'publisher' , $ srv = null ) { return $ this -> redirect ( $ stream -> getRtmpApp ( ) , $ stream -> getUniqID ( ) , $ rtmp_adress , $ clientid , $ new_name , $ type , $ srv ) ; }
docstring: adds a push to another rtmp server. can be used to send a stream to facebook, youtube, etc.
  @var stream the stream you want to push
  @var rtmp_adress the adress you want to push to
  @var cientid the streamkey of the destination
  @var new_name the app of the rtmp server you want to push to
  @var srv optional nginx server to use
docstring_tokens: adds a push to another rtmp server . can be used to send a stream to facebook youtube etc .