Class: Google::Cloud::Video::LiveStream::V1::Distribution
- Inherits:
-
Object
- Object
- Google::Cloud::Video::LiveStream::V1::Distribution
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/livestream/v1/outputs.rb
Overview
Distribution configuration.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#distribution_stream ⇒ ::String
Required.
-
#error ⇒ ::Google::Rpc::Status
readonly
Output only.
-
#key ⇒ ::String
Required.
-
#rtmp_push ⇒ ::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint
Output endpoint using RTMP_PUSH.
-
#srt_push ⇒ ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
Output endpoint using SRT_PUSH.
-
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Distribution::State
readonly
Output only.
Instance Attribute Details
#distribution_stream ⇒ ::String
Returns Required. DistributionStream
keys that should
appear in this distribution output.
- For SRT protocol, only
tsdistribution streams can be specified. - For RTMP protocol, only
flvdistribution streams can be specified.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |
#error ⇒ ::Google::Rpc::Status (readonly)
Returns Output only. Only present when the state is ERROR. The reason for the
error state of the distribution.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |
#key ⇒ ::String
Returns Required. A unique key for this distribution. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |
#rtmp_push ⇒ ::Google::Cloud::Video::LiveStream::V1::RtmpPushOutputEndpoint
Returns Output endpoint using RTMP_PUSH.
Note: The following fields are mutually exclusive: rtmp_push, srt_push. If a field in that set is populated, all other fields in the set will automatically be cleared.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |
#srt_push ⇒ ::Google::Cloud::Video::LiveStream::V1::SrtPushOutputEndpoint
Returns Output endpoint using SRT_PUSH.
Note: The following fields are mutually exclusive: srt_push, rtmp_push. If a field in that set is populated, all other fields in the set will automatically be cleared.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |
#state ⇒ ::Google::Cloud::Video::LiveStream::V1::Distribution::State (readonly)
Returns Output only. State of the distribution.
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 |
# File 'proto_docs/google/cloud/video/livestream/v1/outputs.rb', line 214 class Distribution include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # State of this distribution. module State # State is not specified. STATE_UNSPECIFIED = 0 # Distribution has trouble to produce or deliver the output. ERROR = 5 # Distribution is not ready to be started. NOT_READY = 6 # Distribution is ready to be started. READY = 7 # Distribution is already started and is waiting for input. AWAITING_INPUT = 8 # Distribution is already started and is generating output. DISTRIBUTING = 9 end end |