Does this method get just server-side streams, or any streams that has client connections, or something else? I am calling IApplicationInstance.getStreams(), then calling getStreams() on the result, and one of our source streams (inputs) appears to be returned twice. The API guide says "Get all the mediaStream objects attached to this applicationInstance", so I need some clarification on this, if possible.
It returns all stream types. If there is a live stream named "myStream" and 1 client subscribed to that stream, this method would return both streams. If you just want published streams use IApplicationInstance.getPublishStreamNames()