We’re taking in mind the possibility of using a media server in order to build our on-premise media service.
We’re only focusing at Video- and Audio-on-Demand use-case.
If you use Ant Media Server, you have more control in your structure. Please review AMS Security docs in follows -> https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation
Basically, you can use upload/delete/count, etc. abilities in AMS with REST Services. Please check AMS REST services in here -> https://antmedia.io/rest/ Also, you can play with MP4 and HLS in your VoD files.
I hope, I could help you.