Results 1 to 2 of 2

Thread: dissconect a user session after a period of time

  1. #1
    Join Date
    Aug 2011
    Posts
    116

    Default dissconect a user session after a period of time

    Hi
    Is there a wey to dissconect a user after a fixed amount of time (rtmp)?
    For example i want to disconect every user that is watching more then 3 hours

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    There is nothing built-in like that. For RTMP clients you can write a module around IMediaStreamActionNotify3 . You would use the onPlay() method to start a timer, then shutdown clients like this:

    client.setShutDownClient(true);
    Take a look at this example, which should be a good starting place for this:

    http://www.wowza.com/forums/content....ics-on-a-timer

    Richard

Posting Permissions

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