Ingest Rate Limiting

Configure your encoder to adhere to ingest rate limit guidelines.

When you publish MSL 4 streams to the shared infrastructure, your encoder needs to adhere to these rate limit guidelines. If you exceed these limitations, an error response will be sent to the encoder. To prevent disruption to stream delivery for your viewers, configure your encoder according to these guidelines.

Attribute Limit Response code Error code
Maximum number of hits per second for a stream rendition 10 hits/second 429 ERROR_EXCEED_RL_RENDITION_HITS_LIMIT
Maximum number of hits per second for a streamID 100 hits/second 429 ERROR_EXCEED_RL_STREAM_HITS_LIMIT
Maximum bitrate per rendition 45 Mbps 429 ERROR_EXCEED_RL_RENDITION_BITS_LIMIT
Aggregate maximum bitrate per streamID publishing either primary OR backup stream 75 Mbps 429 ERROR_EXCEED_RL_STREAM_BITS_LIMIT
Aggregate maximum bitrate per streamID publishing both primary AND backup streams 150 Mbps 429 ERROR_EXCEED_RL_STREAM_BITS_LIMIT
Maximum number of events 50 429 ERROR_EXCEED_EVENT_POST_LIMIT
Maximum segment size 100 MB 413 ERROR_EXCEED_RL_MAX_SEGMENT_SIZE_LIMIT
Warning: To prevent overloading the shared infrastructure, there are limits to the number of events allowed per streamID. The .m3u8 file and the video segment are counted individually as events, therefore every request for a video would be the equivalent of two events. When you have a master variant playlist, that also adds to the event count. To avoid exceeding the event threshold limit, create a new streamID for each channel that serves your streaming media content.
Tip: In accordance with industry standards, a media segment duration should range between 2 and 10 seconds. Longer media segments are less nimble, resulting in slower transfer times and delayed bitrate switching.
These limits also apply to Ingest Accelerated streams. You’ll see a warning in the IAS client UI when the limits are exceeded.
In this case, 429 responses are not sent back to the encoder to avoid disrupting the entire stream. Check the email that is set up to receive alert notifications to understand the ingest limits violated.