rv.data.Recording.Stream.RTMPDestination
*/
class RTMPDestination extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string address = 1;
*/
protected $address = '';
/**
* Generated from protobuf field string key = 2;
*/
protected $key = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $address
* @type string $key
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Recording::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string address = 1;
* @return string
*/
public function getAddress()
{
return $this->address;
}
/**
* Generated from protobuf field string address = 1;
* @param string $var
* @return $this
*/
public function setAddress($var)
{
GPBUtil::checkString($var, True);
$this->address = $var;
return $this;
}
/**
* Generated from protobuf field string key = 2;
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* Generated from protobuf field string key = 2;
* @param string $var
* @return $this
*/
public function setKey($var)
{
GPBUtil::checkString($var, True);
$this->key = $var;
return $this;
}
}