Skip to main content
Participant
March 18, 2010
Question

I have 2 questions

  • March 18, 2010
  • 1 reply
  • 530 views

1. I want to limits the number of viewers per stream

2. I want to limit the valid stream names

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 18, 2010

    Let me try answering your questions as how i understand them and probably later on based on my answers you can get back to me if i did not get you right

    1.I want to limits the number of viewers per stream:-

    You can use Authorization Plug-in to achieve this solution.

    You can write a logic which keeps track of count of number of plays each stream receives using E_PLAY event. Now when you have reached limit for particular stream you can deny request for the play by not authorizing it in Auth Plug-in.

    2. I want to limit the valid stream names

    Again, you can use Auth Plug-in for this use case. Define your set of valid names and whenever anyone tries to publish a stream, check for the stream name in E_PUBLISH event and depending on whether its valid or invalid , authorize or deny it respectively.

    smilehostAuthor
    Participant
    March 18, 2010

    What is Authorization Plug-in ? And how to get it and how to use it

    can i control it by administrator console ?

    Participating Frequently
    March 18, 2010

    Authorization Plug-in is nothing but C++ plug-in which you can place in your modules folder so that you can intercept client's access to server events.

    Please read more about it in FlashMediaServer_3.5_plugin_dev.pdf which you can find in documentation folder of FMS (refer Developing Authorization Plug-in section). You can find same documentation on web here:http://help.adobe.com/en_US/FlashMediaServer/3.5_Plugin/WS5b3ccc516d4fbf351e63e3d11a0d662434-7fe8.html

    let me know if you need more help.

    I do not think you can achieve what you want via Admin Console.