uizaio / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
20 stars 6 forks source link

Fix get limit bandwidth wrong index of tier. #24

Closed thinhtran3012 closed 4 years ago

onimsha commented 4 years ago

This is because the config is an array, and we need to map the tier with the position of the limit in the array. Array stats from 0, that why we have to user tier-1,because tier is using number (1,2,3)