cherrymusic
cherrymusic copied to clipboard
Limit audio bitrate per user
Bitrate limiter is cool thing. But can this be done per user basis? Even bitrate is limited in admin account user can unlimit it in his own account.. This is something similar to 'permit download' per user feature you guys already have in place
Thanks as always!
Even bitrate is limited in admin account user can unlimit it in his own account.
Good catch! That shouldn't be. :+1:
Hey @6arms1leg Did you have time to look on this?
Thanks!
No, sorry. I don't have much spare time the next few months.
Just to clear this one up: the bitrate limit was never meant to limit other users, but to save bandwidth when using CM on the go. Limiting the bandwidth for other users seems like a good idea anyway, because the same bandwidth may block your internet connection at home as well.
To be able to do so, we will:
- [ ] disable static file serving for those users and redirect to the transcoded file (a HTTP 302 hopefully does the job)
- [ ] disregard their bitrate preference and serve whatever the admin wants to serve.
- [ ] optional: override the transcoding user option to tell the client to transcode to avoid the redirect for smoother track changes
@devsnd thanks =)