Wowza Community

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.

s360pmobile1

0

1

0

0

0

1

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

Thanks.

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

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

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

Richard

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.

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

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. :slight_smile:

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