# Google Cloud Video Stitcher V1 Client - Class StitchingPolicy (1.2.0)

1.2.0 (latest) 1.1.2 1.0.4 0.9.1 0.8.4 0.7.3 0.6.2 0.5.1 0.3.4 Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class StitchingPolicy.

Defines the ad stitching behavior in case the ad duration does not align
exactly with the ad break boundaries. If not specified, the default is
`CUT_CURRENT`.

Protobuf type `google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy`

## Namespace

Google \\ Cloud \\ Video \\ Stitcher \\ V1 \\ LiveConfig

## Methods

### static::name

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

### static::value

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

## Constants

### STITCHING_POLICY_UNSPECIFIED

    Value: 0

Stitching policy is not specified.

Generated from protobuf enum `STITCHING_POLICY_UNSPECIFIED = 0;`

### CUT_CURRENT

    Value: 1

Cuts an ad short and returns to content in the middle of the ad.

Generated from protobuf enum `CUT_CURRENT = 1;`

### COMPLETE_AD

    Value: 2

Finishes stitching the current ad before returning to content.

Generated from protobuf enum `COMPLETE_AD = 2;`