Hi, guys!
I’m creating module for Wowza. It’s simple module that will send username/ password to my site . Now I think – how I can get user password from Wirecast? I can get username but password…
As I understand, AuthenticateUsernamePasswordProviderExample don’t work with Wirecast.
Please, help me.
Regards, Roman.
Hi Roman,
You said, " I can get username but password…". So, why does that not provide the solution?
A user posted some code to parse URL params. There are also Wowza tutorials with examples of this.
Please clarify if you need more help.
You can use moduleRTMPAuthenticate from the MediaSecurity package.
You can also override Publish to get “QueryString”. Here’s an example: ModuleOnConnectAuthenticate2.
public void onConnect(IClient client, RequestFunction function, AMFDataList params)
{
String[] qs =client.getQueryStr().split("&");
getLogger().info(qs[0]);
}
output - “null”
Don’t work
public void onConnect(IClient client, RequestFunction function, AMFDataList params)
{
String userName = getParamString(params, PARAM1);
String password = getParamString(params, PARAM2);
getLogger().info(userName+password);
}
output “nullnull”
Don’t work
What I’m doing wrong?
I use Wirecast /FM 1.0 with Wowza Media Server 3.1.1
I need only username and password that user set to Wirecast credentials…
Where are example how do it?