https://gitlab.com/Deamos/flask-nginx-rtmp-manager/commit/afd909079bfe160d15d270f4acf922604bf27e81#note_150689535