JustOnAir docs
View as Markdown

Limits

What each account can do, what a publisher may send, and the sizes of everything the API accepts.

Account limits

New accounts start with conservative limits. An account is made trusted by hand, on request, once we know what you broadcast. Partner limits are by agreement, for platforms running many streams at once; those accounts show a Partner badge in the dashboard. Your level is in Settings.

LimitNewTrustedPartnerError when reached
Streams live at once (channels' streams included)11050publisher refused
Streams waiting to go live at once220100limit_pending_streams
Streams created per hour101001,000limit_creation_rate
Ingest hours per month20No cap (credit is the limit)No caplimit_ingest_hours
Highest max_resolution72010801080limit_resolution
Longest stream4 hours24 hours24 hoursends with duration_limit
Channels31001,000limit_channels
Active API keys202020limit_api_keys
Webhook endpoints555limit_webhook_endpoints

Limits and billing are separate: a trusted or partner account can be prepaid or postpaid.

API requests

Calls with your API key have no per-key request limit today; the limits above are on what you create. Poll a stream every 3–5 seconds at most, or use webhooks. The public /v1/embed/ endpoints are limited per viewer address (rate_limited). Errors that go away by waiting carry a Retry-After header: see API basics.

What a publisher may send

Limit
Bitrate6 Mbps of video; the stream ends above 7.5 Mbps sustained, everything included, after a 20 s warning
ResolutionWithin the declared max_resolution in either orientation, with 12% slack
Video tracksOne (simulcast is refused)
CodecH.264
Publishers per streamOne at a time

Sizes

FieldLimit
name100 characters
metadata2 KB of JSON
Idempotency-Key1–255 characters, remembered for 24 hours
Playback link lifetime (expires_in)60 seconds to 7 days
Recording download link60 seconds to 7 days, default 1 hour
recording_retention_days1 to 3650, or null for no limit
GET /v1/streams pageUp to 100
GET /v1/usageUp to 90 days
Webhook delivery logKept 30 days

Chat

Per stream with chat.enabled (beta). Details on Chat and reactions.

Limit
Nickname2–24 characters
Message1–200 characters, no links from viewers
Per viewer1 message every 3 s, or the slow mode if higher
Per address, per stream30 messages a minute (chat_rate_limited)
Per stream50 messages a second (chat_busy); automatic slow mode from 10 a second
Reactions1 batch per viewer every 3 s, up to 10 per emoji
Your word list500 entries of up to 60 characters
Chat messages kept30 days after the stream ends

Viewers

There is no cap on viewers. Delivery is paid per GB from your credit, and the credit is the real limit: when it reaches zero, live streams end. The CDN has its own protection against abuse, and requests to a single URL are rate limited per viewer.