google-cloud-video-stitcher overview (0.8.0)

com.google.cloud.video.stitcher.v1

A client to Video Stitcher API

The interfaces provided are listed below, along with usage samples.

VideoStitcherServiceClient

Service Description: Video-On-Demand content stitching API allows you to insert ads into (VoD) video on demand files. You will be able to render custom scrubber bars with highlighted ads, enforce ad policies, allow seamless playback and tracking on native players and monetize content with any standard VMAP compliant ad server.

Sample for VideoStitcherServiceClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (VideoStitcherServiceClient videoStitcherServiceClient =
     VideoStitcherServiceClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   CdnKey cdnKey = CdnKey.newBuilder().build();
   String cdnKeyId = "cdnKeyId-1777782867";
   CdnKey response = videoStitcherServiceClient.createCdnKey(parent, cdnKey, cdnKeyId);
 }
 

com.google.cloud.video.stitcher.v1.stub