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++
See Setting up a C++ development environment for details about this client library's requirements and install dependencies.
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.3.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.3.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.32.0</version> </dependency>
If you are using Gradle, add this to your dependencies:
compile group: 'com.google.cloud', name: 'google-cloud-live-stream', version: '0.32.0'
Node.js
For more information, see Setting Up a Node.js Development Environment.
npm install --save @google-cloud/livestream
PHP
For more information, see Using PHP on Google Cloud.
composer require google/cloud
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.