# Google Cloud Video Transcoder V1 Client - Class SegmentReferenceScheme (1.4.0)

1.4.0 (latest) 1.3.2 1.2.0 1.1.0 1.0.3 0.10.5 0.9.1 0.8.2 0.7.1 0.6.0 0.5.3 Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class SegmentReferenceScheme.

The segment reference scheme for a `DASH` manifest.

Protobuf type `google.cloud.video.transcoder.v1.Manifest.DashConfig.SegmentReferenceScheme`

## Namespace

Google \\ Cloud \\ Video \\ Transcoder \\ V1 \\ Manifest \\ DashConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SEGMENT_REFERENCE_SCHEME_UNSPECIFIED

    Value: 0

The segment reference scheme is not specified.

Generated from protobuf enum `SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0;`

### SEGMENT_LIST

    Value: 1

Explicitly lists the URLs of media files for each segment. For example,
if
[SegmentSettings.individual_segments](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.SegmentSettings#_Google_Cloud_Video_Transcoder_V1_SegmentSettings__getIndividualSegments__)
is `true`, then the manifest contains fields similar to the following:

    <Initialization sourceURL="my-hd-stream-init.m4s"/>
      <SegmentList presentationTimeOffset="0" duration="1000"
      timescale="10000">
        <SegmentURL media="hd-stream0000000000.m4s"/>
        <SegmentURL media="hd-stream0000000001.m4s"/>
        ...

Generated from protobuf enum `SEGMENT_LIST = 1;`

### SEGMENT_TEMPLATE_NUMBER

    Value: 2

[SegmentSettings.individual_segments](https://docs.cloud.google.com/php/docs/reference/cloud-video-transcoder/latest/V1.SegmentSettings#_Google_Cloud_Video_Transcoder_V1_SegmentSettings__getIndividualSegments__)
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:

    <SegmentTemplate presentationTimeOffset="0" timescale="10000"
          initialization="my-hd-stream-init.m4s"
          media="hd-stream$Number%010d$.m4s" startNumber="0">
      ...

Generated from protobuf enum `SEGMENT_TEMPLATE_NUMBER = 2;`