ServerId can be 0
parent
e0b0b42966
commit
091459004c
|
@ -171,7 +171,7 @@ private $control_fields = array(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public function getStreamSrc( $args, $querySep='&' ) {
|
public function getStreamSrc( $args, $querySep='&' ) {
|
||||||
if ( isset($this->{'ServerId'}) ) {
|
if ( isset($this->{'ServerId'}) and $this->{'ServerId'} ) {
|
||||||
$Server = new Server( $this->{'ServerId'} );
|
$Server = new Server( $this->{'ServerId'} );
|
||||||
$streamSrc = ZM_BASE_PROTOCOL.'://'.$Server->Hostname().ZM_PATH_ZMS;
|
$streamSrc = ZM_BASE_PROTOCOL.'://'.$Server->Hostname().ZM_PATH_ZMS;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue