Results 1 to 6 of 6

Thread: Getting the number of connected session for HLS live streaming

  1. #1
    Join Date
    Jan 2013
    Posts
    12

    Question Getting the number of connected session for HLS live streaming

    We are trying to get the number of viewers connecting to one of our HLS streams.
    However, when we tried connecting multiple clients to the same live HLS stream to our Wowza server, we found the number of connections shown in the built-in HTTP provider always show as 1.

    <Stream>
    <Name>s360pmobile1</Name>
    <SessionsFlash>0</SessionsFlash>
    <SessionsCupertino>1</SessionsCupertino>
    <SessionsSanJose>0</SessionsSanJose>
    <SessionsSmooth>0</SessionsSmooth>
    <SessionsRTSP>0</SessionsRTSP>
    <SessionsTotal>1</SessionsTotal>
    </Stream>

    Is this normal for HLS streaming? Or is there any way to get the correct number of viewers for HLS streams?

    Thanks.

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

    Default

    Did you connect multiple clients concurrently? This is not a cumulative total, just what is current.

    Otherwise, do you have a HLS stream on a public IP we can test and look at serverinfo? If so, send to support@wowza.com.

    Include a link to this thread for reference. And include a username and password to look at serverinfo and connectioncounts on your server

    Richard

  3. #3
    Join Date
    Jan 2013
    Posts
    12

    Question

    Hi Richard,

    Do you mean if I have 5 clients access the same HLS live stream, it will be considered as 1 session ?

    The wowza server is setup in our test lab and thus, can't be accessed externally.

    Thanks.

    Quote Originally Posted by rrlanham View Post
    Did you connect multiple clients concurrently? This is not a cumulative total, just what is current.

    Otherwise, do you have a HLS stream on a public IP we can test and look at serverinfo? If so, send to support@wowza.com.

    Include a link to this thread for reference. And include a username and password to look at serverinfo and connectioncounts on your server

    Richard
    Last edited by spiderman2013; 01-27-2013 at 08:30 PM.

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

    Default

    No, each client plays its own session. If you have five HLS clients streaming at the same time, you should see 5 at that time. But if you have five HLS clients streaming one at a time, you would only ever see 1 in this output.

    Unless you have configured Wowza as an HTTP origin

    Richard

  5. #5
    Join Date
    Jan 2013
    Posts
    12

    Smile

    Thanks your help, Richard!

    You are right. The server has been configured as a HTTP origin.
    No wonder we can't get the count right.


    Quote Originally Posted by rrlanham View Post
    No, each client plays its own session. If you have five HLS clients streaming at the same time, you should see 5 at that time. But if you have five HLS clients streaming one at a time, you would only ever see 1 in this output.

    Unless you have configured Wowza as an HTTP origin

    Richard

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

    Default

    Cool. You're welcome. Thanks for the update.

    Richard

Similar Threads

  1. Getting "Session not accepted" with HLS streaming
    By cladmin in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 05-08-2013, 11:44 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
  •