This document lists the quotas and system limits that apply to Live Stream API. Quotas specify the amount of a countable, shared resource that you can use, and they are defined by Google Cloud services such as Live Stream API. System limits are fixed values that cannot be changed.
Google Cloud uses quotas to help ensure fairness and reduce spikes in resource use and availability. A quota restricts how much of a Google Cloud resource your Google Cloud project can use. Quotas apply to a range of resource types, including hardware, software, and network components. For example, quotas can restrict the number of API calls to a service, the number of load balancers used concurrently by your project, or the number of projects that you can create. Quotas protect the community of Google Cloud users by preventing the overloading of services. Quotas also help you to manage your own Google Cloud resources.
The Cloud Quotas system does the following:
- Monitors your consumption of Google Cloud products and services
- Restricts your consumption of those resources
- Provides a way to request changes to the quota value
In most cases, when you attempt to consume more of a resource than its quota allows, the system blocks access to the resource, and the task that you're trying to perform fails.
Quotas generally apply at the Google Cloud project level. Your use of a resource in one project doesn't affect your available quota in another project. Within a Google Cloud project, quotas are shared across all applications and IP addresses.
There are also system limits on Live Stream API resources. System limits can't be changed.
General limits
Live stream sessions last for 24 hours after you start a channel. After 24 hours in any
StreamingState
other thanSTOPPED
orSTOPPING
, the channel may be restarted.A mux stream with a
ts
container must contain exactly one audio stream and up to one video stream.Only HLS manifests can contain mux streams with the
ts
container. Manifests cannot contain a mixture ofts
andfmp4
mux streams.
Allocation quotas
The following regional quotas don't reset over time and instead are released when you release the resource:
Quotas per region | Value |
---|---|
Channels | 101 |
Inputs | 20 |
HD output streams | 20 |
SD output streams | 40 |
Assets | 10 |
1Channel quota applies to running channels. You can only run up to 10 channels at a time per region.
Request quotas
The following quotas apply to Live Stream API requests:
Request quota | Value |
---|---|
API requests per minute | 6000 |
Operation requests per minute per region | 1200 |
Get requests per minute per region | 1200 |
List requests per minute per region | 300 |
Mutation requests per minute per region | 300 |
These quotas apply to each Google Cloud project and are shared across all applications and IP addresses using that project.
Input limits
Input streams must follow the limits provided below:
Tier | Resolution | Bitrate | FPS |
---|---|---|---|
SD | <720p | <=6 Mbps | <=60 |
HD | <=1080p | <=25 Mbps | <=60 |
Output limits
Tier | Resolution | Bitrate | FPS |
---|---|---|---|
SD | <720p | <=3 Mbps | <=60 |
HD | <=1080p | <=15 Mbps | <=60 |
Per-channel resource limits
The following limits apply to each individual channel:
Resource per channel | Value |
---|---|
Events1 | 1000 |
Input attachments | 6 |
Manifests | 10 |
HD video output streams | 3 |
Total video output streams | 10 |
Audio output streams | 20 |
Sprite sheet settings | 3 |
1 Once the limit is reached, you must delete the oldest events to make room for new events.
Quota increases
If you want to increase any of your quotas for Live Stream API, you can use the Google Cloud console to request a quota increase. For details, see Requesting higher quota.