Results 1 to 5 of 5

Thread: Restrict the number of stream

  1. #1

    Default Restrict the number of stream

    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

  2. #2
    Join Date
    Dec 2007
    Posts
    25,680

    Default

    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:

    Code:
    stream.getClient().getAppInstance().getPublishStreamNames().size();
    stream.getClient().shutdownClient();
    Richard

  3. #3

    Thumbs up

    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

  4. #4
    Join Date
    Dec 2007
    Posts
    25,680

    Default

    I have appInstance.getPublishStreamNames() in Wowza 2.0.0.09 build23538.

    Richard

  5. #5

    Default

    Hi Richard,

    my version is Wowza Media Server 2 build22912
    might be a bit different with yours.
    Anyway, All good now and thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •