Search code examples
video-streamingwowza

How to get all active streams from wowza server?


I have been trying to set up multiple live streams (up to 30) and make some kind of small video chat website where the users can push streams to the server and other users watch these streams. I use one wowza instance and one created application called live. After reading all tutorials on https://streamtoolbox.com I 'm aware of user authentication, tokens etc. but I still have no idea:

  1. how succesfully logged user can gahther all active streams from wowza server? I want him to have HTML page returned with the the list of various videos. Should logged user do some kind of query to wowza server for active streams?
  2. How wowza distinguish and store all active streams within one aplication?

thanks in advance for putting some light on this subject.


Solution

  • You can build your own module that uses the Wowza API to iterate over all the active streams in your application, or even within all applications running in the VHost. This module could possibly be a HTTPProvider that you register so that you can make it listen to a specific URL and return a JSON/XML/HTML representation of the streams in your Wowza server. Your website could possibly do a request to this module and load the data dynamically for rendering the content to the user. This would be my general approach, the API docs and tutorials can give you an idea how to actually start your own module.