...
REST queries should be sent to Edge server.
REST query | Response states | Description |
---|---|---|
/debug/decoder/shrink_buffer_provider_pools | 200 – OK 500 – Internal Server Error | Shrink decoding buffer pools |
Stream transcoding by two or more profiles with the same video parameters
...
This parameter should be set on Transcoder nodes.
Decoders load limiting
Since build 5.2.594, an integral decoders load value can be limited. For example, to allow no more then 20 streams 1080p with 30 fps to be decoded, the following parameter should be set
Code Block | ||
---|---|---|
| ||
cdn_transcoder_video_decoders_load_threshold=1244160000 |
which is the result of multiplication
Code Block | ||
---|---|---|
| ||
1920 * 1080 * 30 * 20 |
When this value is reached, the Transcoder node becomes GROUP_CONNECTION_ALLOWED.
This parameter should be set on Transcoder nodes.
Encoders load limiting
Since build 5.2.594, an integral decoders load value can be limited. For example, to allow no more then 20 streams to be encoded to 720p, 480p and 240p with 25 fps, the following parameter should be set
Code Block | ||
---|---|---|
| ||
cdn_transcoder_video_encoders_load_threshold=716400000 |
which is the result of summation
Code Block | ||
---|---|---|
| ||
1280 * 720 * 25 * 20 + 852 * 480 * 25 * 20 + 426 * 240 * 25 * 20 |
When this value is reached, the Transcoder node becomes GROUP_CONNECTION_ALLOWED.
This parameter should be set on Transcoder nodes.
Degraded streams percent limiting
Since build 5.2.594, a degrading streams percent can be limited. For example, to stop new streams transcoding when 10% of streams is degraded, the following parameter should be set
Code Block | ||
---|---|---|
| ||
cdn_transcoder_degraded_streams_threshold=10 |
When this value is reached, the Transcoder node becomes GROUP_CONNECTION_ALLOWED. Note that streams usually start to degrade due to lack of decoder or encoder perfomance, and decoder/encoder picture queues are grown to maximum values to the moment of degradation, that leads to RAM waste. Therefore, this parameter must be used in addition to encoder/decoder load thresholds only.
This parameter should be set on Transcoder nodes.
Even Transcoder node load distribution
...