We are testing netDNA live streaming zones. These use FMLE authentication so we can provide user/password credentials for Flash Media Encoder. However, we cannot authenticate from Flash AS2/AS3.
connect(rtmp, user, password):
On Connect:
onConnectStatus
info[level]=status
info
=NetConnection.Connect.Success
info[description]=Connection succeeded.
Then on NetStream:
onConnectStatus
info[level]=error
info[code]=NetStream.Publish.Failed
info[description]=Not authorized to publish
info[clientid]=1430554591
We do not have this issue with EC2 and our own server... I guess different authentication module.
I’m not exactly sure what you are asking, but we have several security options. The MediaSecurity package has ModuleRTMPAuthenticate:
https://www.wowza.com/docs/media-security-overview)
Or these similar options:
https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2
https://www.wowza.com/docs/how-to-do-file-based-rtmp-authentication-with-url-query-strings-onconnectauthenticate2
If you are developing something or extending one of the above, you can get userAgent with client.getFlashVer() in onConnect, so you can tell if the client is an encoder that you want to allow.
Richard
I am trying to publish video stream using Flash AS2.
We are using NetNDA. They have username/password Authentication. I assume your standard module; but do not know.
The connect(rtmp, user, password) that we use for other instances does not work.
NetDNA are also looking at this issue. I will see if they can confirm the Authentication model.
Rajiv
Hey Rajiv,
Did you ever get this working? Having the same problem as you.
Sean