List streams available with Red5

466 views Asked by At

I am developing an application with the red5 server. I would like to create a simple webservice that to be asked to return the names of streans (rtmp: // IP / canal / stream) available at that time.

My application is simple. The context also have the usual red5 server, sending and receiving video streans and would like to create something in JAVA to list the streans that are running / available at the time to be able to access them on a remote site with 1 or N streans by example.

I am having doubt in how to assemble the code snippet for the streans of red5, the rest is ready. Do you have any idea how to find it? I am having some difficulty in finding some examples and docs.

Thank you.

1

There are 1 answers

5
Paul Gregoire On

To get a list of streams, first get your "scope" and then get the collection of child scopes. These children will be of "broadcast" type should they actually represent streams. This may be a little out-of-date, but you'll find an example on page 3 of this pdf: https://red5.googlecode.com/files/1827OS_04_1stDraft.pdf