Class: Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/video/transcoder/v1/resources.rb
Overview
DASH manifest configuration.
Defined Under Namespace
Modules: SegmentReferenceScheme
Instance Attribute Summary collapse
-
#segment_reference_scheme ⇒ ::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme
The segment reference scheme for a
DASHmanifest.
Instance Attribute Details
#segment_reference_scheme ⇒ ::Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme
Returns The segment reference scheme for a DASH manifest. The default is
SEGMENT_LIST.
430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'proto_docs/google/cloud/video/transcoder/v1/resources.rb', line 430 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 # Explicitly lists the URLs of media files for each segment. For example, # if # {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments} # is `true`, then the manifest contains fields similar to the following: # ```xml # <Initialization sourceURL="my-hd-stream-init.m4s"/> # <SegmentList presentationTimeOffset="0" duration="1000" # timescale="10000"> # <SegmentURL media="hd-stream0000000000.m4s"/> # <SegmentURL media="hd-stream0000000001.m4s"/> # ... # ``` SEGMENT_LIST = 1 # {::Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments SegmentSettings.individual_segments} # must be set to `true` to use this segment reference scheme. Uses the # DASH specification # `<SegmentTemplate>` tag to determine the URLs of media files for each # segment. For example: # ```xml # <SegmentTemplate presentationTimeOffset="0" timescale="10000" # initialization="my-hd-stream-init.m4s" # media="hd-stream$Number%010d$.m4s" startNumber="0"> # ... # ``` SEGMENT_TEMPLATE_NUMBER = 2 end end |