Enum Manifest.DashConfig.SegmentReferenceScheme (1.72.0)

publicenumManifest.DashConfig.SegmentReferenceSchemeextendsEnum<Manifest.DashConfig.SegmentReferenceScheme>implementsProtocolMessageEnum

The segment reference scheme for a DASH manifest.

Protobuf enum google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme

Implements

ProtocolMessageEnum

Static Fields

Name Description
SEGMENT_LIST

Explicitly lists the URLs of media files for each segment. For example, if SegmentSettings.individual_segments is true, then the manifest contains fields similar to the following: <code><code>xml &lt;Initialization sourceURL="my-hd-stream-init.m4s"/&gt; &lt;SegmentList presentationTimeOffset="0" duration="1000" timescale="10000"&gt; &lt;SegmentURL media="hd-stream0000000000.m4s"/&gt; &lt;SegmentURL media="hd-stream0000000001.m4s"/&gt; ... </code></code>

SEGMENT_LIST = 1;

SEGMENT_LIST_VALUE

Explicitly lists the URLs of media files for each segment. For example, if SegmentSettings.individual_segments is true, then the manifest contains fields similar to the following: <code><code>xml &lt;Initialization sourceURL="my-hd-stream-init.m4s"/&gt; &lt;SegmentList presentationTimeOffset="0" duration="1000" timescale="10000"&gt; &lt;SegmentURL media="hd-stream0000000000.m4s"/&gt; &lt;SegmentURL media="hd-stream0000000001.m4s"/&gt; ... </code></code>

SEGMENT_LIST = 1;

SEGMENT_REFERENCE_SCHEME_UNSPECIFIED

The segment reference scheme is not specified.

SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0;

SEGMENT_REFERENCE_SCHEME_UNSPECIFIED_VALUE

The segment reference scheme is not specified.

SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0;

SEGMENT_TEMPLATE_NUMBER

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: <code><code>xml &lt;SegmentTemplate presentationTimeOffset="0" timescale="10000" initialization="my-hd-stream-init.m4s" media="hd-stream$Number%010d$.m4s" startNumber="0"&gt; ... </code></code>

SEGMENT_TEMPLATE_NUMBER = 2;

SEGMENT_TEMPLATE_NUMBER_VALUE

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: <code><code>xml &lt;SegmentTemplate presentationTimeOffset="0" timescale="10000" initialization="my-hd-stream-init.m4s" media="hd-stream$Number%010d$.m4s" startNumber="0"&gt; ... </code></code>

SEGMENT_TEMPLATE_NUMBER = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.