ID of a stream
We are trying to display total number of connections to a particular stream on html page.
I want to know where i can get the Id of the stream which i want to display.
Is the Id change all the time or i can make it fix to a particular number.
The ID of a stream is based on the name set by the encoder or the .stream/.smil file.
You would get the list of live stream names currently being published via getPublishStreamNames()
Take a look at the last part of code shown in this link,
This will need modifying slightly to do what you need.