Results 1 to 4 of 4

Thread: LiveStream get all clients that are playing a certain stream

  1. #1
    Join Date
    Jan 2013
    Posts
    3

    Default LiveStream get all clients that are playing a certain stream

    Hello guys,

    I have searched all over and maybe someone can give me a hint on this.

    I need to get a list of all the clients that are playing a certain stream or streamName. How can i do this ?

    I don't want to iterate through all the connected clients.

    Regards

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

    Default

    Take a look at the 2nd example (at bottom) of this article:

    http://www.wowza.com/forums/content....rs-to-a-stream

    Note the countStreamListenersByInstance method.

    Richard

  3. #3
    Join Date
    Jan 2013
    Posts
    3

    Default

    Quote Originally Posted by rrlanham View Post
    Take a look at the 2nd example (at bottom) of this article:

    http://www.wowza.com/forums/content....rs-to-a-stream

    Note the countStreamListenersByInstance method.

    Richard
    This is like the worst solution, iterating through all the clients all the time, doesn't seem to me like a good idea.

    Isn't there any other cleaner version of doing this ? Shouldn't wowza have a method that can get me the clients that are playing a certain stream right now ?

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

    Default

    There is nothing built-in like that. I don't know how else to do it... unless you track the connections as they happen, perhaps using hash map, then refer to that.

    Richard

Similar Threads

  1. Replies: 1
    Last Post: 08-30-2014, 02:40 PM
  2. Replies: 4
    Last Post: 10-09-2013, 07:00 AM
  3. Livestream playlist not playing next video automatically
    By meetri in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 11-20-2012, 06:23 AM

Posting Permissions

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