Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting the viewer count in one request with the stream #176

Open
super23n opened this issue Oct 6, 2020 · 0 comments
Open

Getting the viewer count in one request with the stream #176

super23n opened this issue Oct 6, 2020 · 0 comments

Comments

@super23n
Copy link

super23n commented Oct 6, 2020

Is it possible to get the viewer count when watching the stream? I have setup the player (Clappr) to get the stream with the URL from the example:

http://example.com/dir?port=1935&app=appname&stream=streamname

When I check the nclients page, I can see the number of viewers watching the stream. The viewer count is updated instantly.

I know that I can send a GET request to the nclients page and get the number that way, but I was wondering if it's possible to do it in one request with the stream data.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant