Reference documentation and code samples for the Transcoder V1 API module Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme.
The segment reference scheme for a DASH manifest.
Constants
SEGMENT_REFERENCE_SCHEME_UNSPECIFIED
value: 0 The segment reference scheme is not specified.
SEGMENT_LIST
value: 1 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:
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_TEMPLATE_NUMBER
value: 2 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">
...
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Transcoder V1 API - Module Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme (v2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [2.2.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.2.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.1.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/2.0.1/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.2.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.1.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/1.0.1/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.13.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.13.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.12.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.12.2/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.11.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.11.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.10.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.9.1](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.9.1/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.8.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.8.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.7.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.6.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.5.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.4.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.3.0/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme)\n- [0.2.2](/ruby/docs/reference/google-cloud-video-transcoder-v1/0.2.2/Google-Cloud-Video-Transcoder-V1-Manifest-DashConfig-SegmentReferenceScheme) \nReference documentation and code samples for the Transcoder V1 API module Google::Cloud::Video::Transcoder::V1::Manifest::DashConfig::SegmentReferenceScheme.\n\nThe segment reference scheme for a `DASH` manifest.\n\nConstants\n---------\n\n### SEGMENT_REFERENCE_SCHEME_UNSPECIFIED\n\n**value:** 0 \nThe segment reference scheme is not specified.\n\n### SEGMENT_LIST\n\n**value:** 1 \nExplicitly lists the URLs of media files for each segment. For example,\nif\n[SegmentSettings.individual_segments](/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-SegmentSettings#Google__Cloud__Video__Transcoder__V1__SegmentSettings_individual_segments_instance_ \"Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments (method)\")\nis `true`, then the manifest contains fields similar to the following:\n`xml\n\u003cInitialization sourceURL=\"my-hd-stream-init.m4s\"/\u003e\n\u003cSegmentList presentationTimeOffset=\"0\" duration=\"1000\"\ntimescale=\"10000\"\u003e\n\u003cSegmentURL media=\"hd-stream0000000000.m4s\"/\u003e\n\u003cSegmentURL media=\"hd-stream0000000001.m4s\"/\u003e\n...\n`\n\n### SEGMENT_TEMPLATE_NUMBER\n\n**value:** 2 \n[SegmentSettings.individual_segments](/ruby/docs/reference/google-cloud-video-transcoder-v1/latest/Google-Cloud-Video-Transcoder-V1-SegmentSettings#Google__Cloud__Video__Transcoder__V1__SegmentSettings_individual_segments_instance_ \"Google::Cloud::Video::Transcoder::V1::SegmentSettings#individual_segments (method)\")\nmust be set to `true` to use this segment reference scheme. Uses the\nDASH specification\n`\u003cSegmentTemplate\u003e` tag to determine the URLs of media files for each\nsegment. For example:\n`xml\n\u003cSegmentTemplate presentationTimeOffset=\"0\" timescale=\"10000\"\ninitialization=\"my-hd-stream-init.m4s\"\nmedia=\"hd-stream$Number%010d$.m4s\" startNumber=\"0\"\u003e\n...\n`"]]