google-cloud-video-stitcher overview (0.1.2)

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:

   
 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

Design a Mobile Site
View Site in Mobile | Classic
Share by: