We use Wowza Streaming Engine 4.1 and now we need to modify one function. As I know, users that can publish streams are in publish.password file in original view. For ex.:
login - admin
password - admin
But we need to connect this with mysql db. In this db we save strings login and password in md5 +salt. Ok, in easy variant i can export 2 fields login + pass in publish.password, but in this case they will be with encryption. And user, when it want to stream will be write in software login + password in original view. But in our file password is in md5 + salt view, and of course, user can not stream.
Save this string in open view I think not good idea.
And now we have a problem with 2 variant:
1. To store login + md5(password) in publish.password file
2. Connect wowza application to mysql db
But in any case login will be store in open view, password in md5 + salt for ex. But when user want to stream, he write his login and password in open case. Please, help us to resolve this problem! Thank you!
Have you investigated using the
ModuleRTMPAuthenticate Module? You can then store publisher credentials in MySQL. If you use a two way encryption then that should be quite secure. MySQL itself has a number of
encryption functions that you could apply to the password field.