How to remove IMediaStream object from Wowza to avoid "Hit license limit for publish"
Each time flash client calls:
ns = new NetStream();
I see that Wowza creates
IMediaStream object. And if I execute above code for five times - Wowza logs tell "Hit license limit for publishing streams." I want to properly reuse or shutdown previous stream instances on Wowza side.
I want to properly reuse or shutdown previous stream instances on Wowza side.
Can you clarify more on your use case? If a playback client or publisher disconnects, Wowza should automatically destroy the stream without additional interaction. The license limit error is built-in as part of the verification process to see if a trial subscription is exceeding the license usage. Using a paid license key should not trigger the error you are seeing.
When the audio source is muted (no audio packets coming in), but the video is still coming in, the connection would not be dropped by Wowza, but would instead be kept open. Are you looking to temporarily suspend --but not disconnect -- a given stream if there is no audio?