I'm trying to config my wowza server to require authentication for both FMLE and Flash applicaiton.
So I built 2 modules, the first extended AuthenticateUsernamePasswordProviderBase thus I can do database level control.
The second module extended ModuleBase , which checks referrer in onConnect to see if my Flash application is embedded at some particular web pages (thus denied all other referrer).
However, if I configured ModuleRTMPAuthenticate+my modules, then FMLE works fine but Web-Flash failed to create stream event though I did "client.acceptConnection()" or "this.invokePrevious()" at both onConnect and publish.
On the contrast, if I use moduleOnConnectAuthenticate(or moduleOnConnectAuthenticate2) instead of ModuleRTMPAuthenticate, and add username/password to my Flash application then it worked fine, but FMLE won't work.
It seems that I have to use 2 different Wowza apps, one for FMLE and another for Flash application, is it?
Is there any way to auth both FMLE and Flash application in a single Wowza app?
In Wowza, any folders after the appInstance portion of the rtmp url will automatically be converted to query params. Note: This is only for where the server address and stream name are entered separately.