Class: Google::Cloud::Video::LiveStream::V1::Distribution

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#distribution_stream::String

Returns Required. DistributionStream keys that should appear in this distribution output.

  • For SRT protocol, only ts distribution streams can be specified.
  • For RTMP protocol, only flv distribution streams can be specified.

Returns:

  • (::String)

    Required. DistributionStream keys that should appear in this distribution output.

    • For SRT protocol, only ts distribution streams can be specified.
    • For RTMP protocol, only flv distribution 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.

Returns:

  • (::Google::Rpc::Status)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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