Reference documentation and code samples for the Video Stitcher V1 API module Google::Cloud::Video::Stitcher::V1::LiveConfig::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.
Constants
STITCHING_POLICY_UNSPECIFIED
value: 0 Stitching policy is not specified.
CUT_CURRENT
value: 1 Cuts an ad short and returns to content in the middle of the ad.
COMPLETE_AD
value: 2 Finishes stitching the current ad before returning to content.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Video Stitcher V1 API - Module Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [1.2.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.2.1/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [1.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.1.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [1.0.1](/ruby/docs/reference/google-cloud-video-stitcher-v1/1.0.1/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.10.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.10.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.9.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.8.2/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.7.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.6.2](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.6.2/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.5.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.5.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.4.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.3.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.2.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-stitcher-v1/0.1.0/Google-Cloud-Video-Stitcher-V1-LiveConfig-StitchingPolicy) \nReference documentation and code samples for the Video Stitcher V1 API module Google::Cloud::Video::Stitcher::V1::LiveConfig::StitchingPolicy.\n\nDefines the ad stitching behavior in case the ad duration does not align\nexactly with the ad break boundaries. If not specified, the default is\n`CUT_CURRENT`.\n\nConstants\n---------\n\n### STITCHING_POLICY_UNSPECIFIED\n\n**value:** 0 \nStitching policy is not specified.\n\n### CUT_CURRENT\n\n**value:** 1 \nCuts an ad short and returns to content in the middle of the ad.\n\n### COMPLETE_AD\n\n**value:** 2 \nFinishes stitching the current ad before returning to content."]]