Get started
  • English
  • 简体中文
Official Site
Get started
  • English
  • 简体中文
Official Site
  • Get started
  • Concepts
    • Sub-accounts and policies
    • OAuth 2.0 authorization
    • Tokens
    • Devices
    • Device capability model
    • Cloud live (HLS) notes
    • Device messages
    • Media security
    • Glossary
    • Cloud live
    • Cloud storage packages
    • Resource pool quota
  • Guides
  • Device capabilities & events
  • API reference
  • SDK and tools
  • Solutions
  • Platform and support
On this page
What it is
Period
Playback scope
OAuth end-user flow quota
Binding rules
Related

Resource pool quota

Resource pool quota

What it is

A resource pool is a custom flow quota under your developer account. After you add sub-accounts or device channels to a pool, their combined playback traffic in that pool cannot exceed the pool limit.

Only flow pools (resourceType=flow) are supported today. Playback bandwidth is normalized to megabytes (MB).

Period

ValueMeaning
dayResets each calendar day
monthResets each calendar month
alwaysTotal cap only until exhausted

Playback scope

Open SDK, light apps, and live URLs (HLS, FLV, RTMP).

OAuth end-user flow quota

Separate from resource pools above: for end users who authorized your OAuth 2.0 project, you can set or read a calendar-month Media Flow cap in GB.

  • saveOauthUserQuota and queryOauthUserQuota require the end user's OAuth access token (Ot_ prefix from oauthTokenV2), not administrator (At_) or sub-account (St_) tokens.
  • An empty quotaGb removes the monthly cap for that user.
  • See OAuth 2.0 authorization · Billing for how this relates to per-user billing and free Media Flow.

Binding rules

  • Many sub-accounts or channels can share one pool; usage is aggregated.
  • If the same sub-account and channel are in different pools, both pools are checked on playback; either limit blocks playback.
  • Changes take effect within about 5 minutes.

Related

  • Resource pool and OAuth flow APIs
  • Configure flow resource pools
  • Sub-accounts and policies
  • Cloud live
  • Error codes FL1008 / FL1009: Error codes
Cloud storage packages
Set up a sub-account