This topic provides details on the Zencoder API error: RTMPMaxStreamsXIdReached.


This error means that the CDN has rejected a RTMP stream because there are too many streams using the same stream ID. So the maximum number of streams per ID is exceeded.

More Information

This may mean:

  • The maximum streams per ID configured in the CDN is too low to accept all the requested streams
  • Other Zencoder jobs are already streaming to this CDN and stream ID
  • The CDN stream ID is being used by another system outside of Zencoder
  • The CDN could have 'zombie' streams, where a previous stream was not properly disconnected and is still counting toward the maximum stream limit for this ID

To avoid this issue, you can stop the other jobs that have streams using the this stream ID, or use another stream ID if you have it. For further information you can contact support with the Job ID and our engineering team will investigate.

Retry this job?

Jobs with this error should not be retried. Learn more about retrying jobs.