Live Stream API client libraries

Stay organized with collections Save and categorize content based on your preferences.

This page shows how to get started with the Cloud Client Libraries for the Live Stream API. Read more about the client libraries for Cloud APIs in Client Libraries Explained.

Install the client library

C#

For more information, see Setting Up a C# Development Environment.

If you are using Visual Studio 2017 or higher, open nuget package manager window and type the following:

Install-Package Google.Cloud.Video.LiveStream.V1 -Version 1.0.0

If you are using .NET Core command-line interface tools to install your dependencies, run the following command:

dotnet add package Google.Cloud.Video.LiveStream.V1 --version 1.0.0

Go

For more information, see Setting Up a Go Development Environment.

go get cloud.google.com/go/video/livestream/apiv1

Java

For more information, see Setting Up a Java Development Environment.

If you are using Maven, add this to your pom.xml file:
<dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-live-stream</artifactId>
    <version>0.5.8</version>
</dependency>

If you are using Gradle, add this to your dependencies:

compile group: 'com.google.cloud', name: 'google-cloud-live-stream', version: '0.5.8'

Node.js

For more information, see Setting Up a Node.js Development Environment.

npm install --save @google-cloud/livestream

Python

For more information, see Setting Up a Python Development Environment.

pip install --upgrade google-cloud-video-live-stream

Ruby

For more information, see Setting Up a Ruby Development Environment.

gem install google-cloud-video-live_stream

Set up authentication

When you use client libraries, you use Application Default Credentials (ADC) to authenticate. For information about setting up ADC, see Provide credentials for Application Default Credentials. For information about using ADC with client libraries, see Authenticate using client libraries.

Additional resources