Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class Input.
Input resource represents the endpoint from which the channel ingests the input stream.
Generated from protobuf message google.cloud.video.livestream.v1.Input
Namespace
Google \ Cloud \ Video \ LiveStream \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}
.
↳ create_time
↳ update_time
↳ labels
↳ type
int
Source type.
↳ tier
int
Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here. See Pricing
for more detail. The default is HD
.
↳ uri
string
Output only. URI to push the input stream to. Its format depends on the input type
, for example: * RTMP_PUSH
: rtmp://1.2.3.4/live/{STREAM-ID}
* SRT_PUSH
: srt://1.2.3.4:4201?streamid={STREAM-ID}
↳ preprocessing_config
↳ security_rules
↳ input_stream_property
Google\Cloud\Video\LiveStream\V1\InputStreamProperty
Output only. The information for the input stream. This field will be present only when this input receives the input stream.
getName
The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}
.
string
setName
The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId}
.
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The update time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The update time.
$this
getLabels
User-defined key/value metadata.
setLabels
User-defined key/value metadata.
$this
getType
Source type.
int
setType
Source type.
var
int
$this
getTier
Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here.
See Pricing
for more detail.
The default is HD
.
int
setTier
Tier defines the maximum input specification that is accepted by the video pipeline. The billing is charged based on the tier specified here.
See Pricing
for more detail.
The default is HD
.
var
int
$this
getUri
Output only. URI to push the input stream to.
Its format depends on the input type , for example:
-
RTMP_PUSH
:rtmp://1.2.3.4/live/{STREAM-ID}
-
SRT_PUSH
:srt://1.2.3.4:4201?streamid={STREAM-ID}
string
setUri
Output only. URI to push the input stream to.
Its format depends on the input type , for example:
-
RTMP_PUSH
:rtmp://1.2.3.4/live/{STREAM-ID}
-
SRT_PUSH
:srt://1.2.3.4:4201?streamid={STREAM-ID}
var
string
$this
getPreprocessingConfig
Preprocessing configurations.
hasPreprocessingConfig
clearPreprocessingConfig
setPreprocessingConfig
Preprocessing configurations.
$this
getSecurityRules
Security rule for access control.
hasSecurityRules
clearSecurityRules
setSecurityRules
Security rule for access control.
$this
getInputStreamProperty
Output only. The information for the input stream. This field will be present only when this input receives the input stream.
hasInputStreamProperty
clearInputStreamProperty
setInputStreamProperty
Output only. The information for the input stream. This field will be present only when this input receives the input stream.
$this