Wowza Community

User authentication using HTTP streaming

Hey,

The article “User Authentication” at https://www.wowza.com/docs/how-to-do-user-authentication-for-flash-rtmp-client-using-jdbc-connection-to-mysql-database explains how to use the Flash onConnect to do user authentication.

The above method is not triggered when doing HTML5 video streaming! So which method should I use for this… onStreamCreate?

Thanks in advance,

Stephan

For HTTP Streaming, you need to use the onHTTP*StreamingSessionCreate methods.

You will be able to authenticate the session there and reject it if you need to.

Indeed, thank you.

I’ve also received this link which works perfectly: https://www.wowza.com/docs/how-to-control-access-to-apple-hls-streaming-cupertinostreaming