Input(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Input resource represents the endpoint from which the channel ingests the input stream.
Attributes |
|
---|---|
Name | Description |
name |
str
The resource name of the input, in the form of: projects/{project}/locations/{location}/inputs/{inputId} .
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The creation time. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The update time. |
labels |
MutableMapping[str, str]
User-defined key/value metadata. |
type_ |
google.cloud.video.live_stream_v1.types.Input.Type
Source type. |
tier |
google.cloud.video.live_stream_v1.types.Input.Tier
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 |
str
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 |
google.cloud.video.live_stream_v1.types.PreprocessingConfig
Preprocessing configurations. |
security_rules |
google.cloud.video.live_stream_v1.types.Input.SecurityRule
Security rule for access control. |
input_stream_property |
google.cloud.video.live_stream_v1.types.InputStreamProperty
Output only. The information for the input stream. This field will be present only when this input receives the input stream. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
SecurityRule
SecurityRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Security rules for access control. Each field represents one security rule. Only when the source of the input stream satisfies all the fields, this input stream can be accepted.
Tier
Tier(value)
Tier of the input specification.
Values: TIER_UNSPECIFIED (0): Tier is not specified. SD (1): Resolution < 1280x720. Bitrate <= 6 Mbps. FPS <= 60. HD (2): Resolution <= 1920x1080. Bitrate <= 25 Mbps. FPS <= 60. UHD (3): Resolution <= 4096x2160. Not supported yet.
Type
Type(value)
The type of the input.
Values: TYPE_UNSPECIFIED (0): Input type is not specified. RTMP_PUSH (1): Input will take an rtmp input stream. SRT_PUSH (2): Input will take an srt (Secure Reliable Transport) input stream.