Hi,
I am wondering if any configuration on Server side to restrict the number of streams that can publish to wowza.
Or on the other end, I have to create it by myself in the application.
Thank you
Hi,
I am wondering if any configuration on Server side to restrict the number of streams that can publish to wowza.
Or on the other end, I have to create it by myself in the application.
Thank you
You can use StreamNameAlias package to restrict by pattern:
http://www.wowzamedia.com/forums/showthread.php?t=1505
If you want to restrict by number, try IMediaStreamActionNotify interface onPlay method, and these:
RichardCode:stream.getClient().getAppInstance().getPublishStreamNames().size(); stream.getClient().shutdownClient();
Hi Richard,
Thank you for your hint.
I think there is no stream.getClient().getAppInstance().getPublishStreamNames().size(); method, but I can use getClientCount() instead.
Cheers, Richard
I have appInstance.getPublishStreamNames() in Wowza 2.0.0.09 build23538.
Richard
Hi Richard,
my version is Wowza Media Server 2 build22912
might be a bit different with yours.
Anyway, All good now and thank you.