google-cloud-live-stream overview (0.3.0)

com.google.cloud.video.livestream.v1

A client to Live Stream API

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

LivestreamServiceClient

Service Description: Using Live Stream API, you can generate live streams in the various renditions and streaming formats. The streaming format include HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send a source stream in the various ways, including Real-Time Messaging Protocol (RTMP) and Secure Reliable Transport (SRT).

Sample for LivestreamServiceClient:

   
 try 
  
 ( 
 LivestreamServiceClient 
  
 livestreamServiceClient 
  
 = 
  
 LivestreamServiceClient 
 . 
 create 
 ()) 
  
 { 
  
 ChannelName 
  
 name 
  
 = 
  
 ChannelName 
 . 
 of 
 ( 
 "[PROJECT]" 
 , 
  
 "[LOCATION]" 
 , 
  
 "[CHANNEL]" 
 ); 
  
 Channel 
  
 response 
  
 = 
  
 livestreamServiceClient 
 . 
 getChannel 
 ( 
 name 
 ); 
  
 } 
  
 

com.google.cloud.video.livestream.v1.stub

Create a Mobile Website
View Site in Mobile | Classic
Share by: