I’m thinking of a solution where multiple users can stream rtsp/rtmp video (using webcams or ip-cameras) to Wowza, and are able to view the streams on a browser. I am currently doing this by having the users publish their streams on the server. I am wondering what the best way would be to support multiple users with the use-case that each user can view only their video feeds. Is there some way I could create user accounts for each user programmatically, and have each user access only their video streams? I’m thinking there is some Wowza API that enables this, but could someone give me some details on this? I apologize if this question is a re-post, or has a terribly obvious solution to it.
There are a few ways to do this.
Option 1: You can create a separate application for each user and have a unique publish.password file for each application. This article explains this setup:
How to enable username/password authentication for RTMP and RTSP publishing (ModuleRTMPAuthenticate)
Then you can override the play command to control access to the content:
How to override play to control access
Option 3: How to do user authentication for Flash RTMP client using JDBC connection to MySQL database
Salvadore