Class: Google::Cloud::Video::Transcoder::V1::Manifest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/transcoder/v1/resources.rb

Overview

Manifest configuration.

Defined Under Namespace

Modules: ManifestType Classes: DashConfig

Instance Attribute Summary collapse

Instance Attribute Details

#dash::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig

Returns DASH manifest configuration.

Returns:



370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 370

class Manifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # `DASH` manifest configuration.
  # @!attribute [rw] segment_reference_scheme
  #   @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme]
  #     The segment reference scheme for a `DASH` manifest. The default is
  #     `SEGMENT_LIST`.
  class DashConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The segment reference scheme for a `DASH` manifest.
    module SegmentReferenceScheme
      # The segment reference scheme is not specified.
      SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0

      # Lists the URLs of media files for each segment.
      SEGMENT_LIST = 1

      # Lists each segment from a template with $Number$ variable.
      SEGMENT_TEMPLATE_NUMBER = 2
    end
  end

  # The manifest type, which corresponds to the adaptive streaming format used.
  module ManifestType
    # The manifest type is not specified.
    MANIFEST_TYPE_UNSPECIFIED = 0

    # Create an HLS manifest. The corresponding file extension is `.m3u8`.
    HLS = 1

    # Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
    DASH = 2
  end
end

#file_name::String

Returns The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest.type.

Returns:

  • (::String)

    The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest.type.



370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 370

class Manifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # `DASH` manifest configuration.
  # @!attribute [rw] segment_reference_scheme
  #   @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme]
  #     The segment reference scheme for a `DASH` manifest. The default is
  #     `SEGMENT_LIST`.
  class DashConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The segment reference scheme for a `DASH` manifest.
    module SegmentReferenceScheme
      # The segment reference scheme is not specified.
      SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0

      # Lists the URLs of media files for each segment.
      SEGMENT_LIST = 1

      # Lists each segment from a template with $Number$ variable.
      SEGMENT_TEMPLATE_NUMBER = 2
    end
  end

  # The manifest type, which corresponds to the adaptive streaming format used.
  module ManifestType
    # The manifest type is not specified.
    MANIFEST_TYPE_UNSPECIFIED = 0

    # Create an HLS manifest. The corresponding file extension is `.m3u8`.
    HLS = 1

    # Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
    DASH = 2
  end
end

#mux_streams::Array<::String>

Returns Required. List of user given MuxStream.keys that should appear in this manifest.

When Manifest.type is HLS, a media manifest with name MuxStream.key and .m3u8 extension is generated for each element of the Manifest.mux_streams.

Returns:

  • (::Array<::String>)

    Required. List of user given MuxStream.keys that should appear in this manifest.

    When Manifest.type is HLS, a media manifest with name MuxStream.key and .m3u8 extension is generated for each element of the Manifest.mux_streams.



370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 370

class Manifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # `DASH` manifest configuration.
  # @!attribute [rw] segment_reference_scheme
  #   @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme]
  #     The segment reference scheme for a `DASH` manifest. The default is
  #     `SEGMENT_LIST`.
  class DashConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The segment reference scheme for a `DASH` manifest.
    module SegmentReferenceScheme
      # The segment reference scheme is not specified.
      SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0

      # Lists the URLs of media files for each segment.
      SEGMENT_LIST = 1

      # Lists each segment from a template with $Number$ variable.
      SEGMENT_TEMPLATE_NUMBER = 2
    end
  end

  # The manifest type, which corresponds to the adaptive streaming format used.
  module ManifestType
    # The manifest type is not specified.
    MANIFEST_TYPE_UNSPECIFIED = 0

    # Create an HLS manifest. The corresponding file extension is `.m3u8`.
    HLS = 1

    # Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
    DASH = 2
  end
end

#type::Google::Cloud::Video::Transcoder::V1::Manifest::ManifestType

Returns Required. Type of the manifest.

Returns:



370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 370

class Manifest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # `DASH` manifest configuration.
  # @!attribute [rw] segment_reference_scheme
  #   @return [::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme]
  #     The segment reference scheme for a `DASH` manifest. The default is
  #     `SEGMENT_LIST`.
  class DashConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The segment reference scheme for a `DASH` manifest.
    module SegmentReferenceScheme
      # The segment reference scheme is not specified.
      SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0

      # Lists the URLs of media files for each segment.
      SEGMENT_LIST = 1

      # Lists each segment from a template with $Number$ variable.
      SEGMENT_TEMPLATE_NUMBER = 2
    end
  end

  # The manifest type, which corresponds to the adaptive streaming format used.
  module ManifestType
    # The manifest type is not specified.
    MANIFEST_TYPE_UNSPECIFIED = 0

    # Create an HLS manifest. The corresponding file extension is `.m3u8`.
    HLS = 1

    # Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`.
    DASH = 2
  end
end