Open MeemawHustlin opened 1 year ago
hmm should be possible. {unique views} in last {minute} or something. as each {unique view} hits the server it'll refresh the time, and if user doesn't refresh, then it goes away.
One question: what counts as a unique view? ip address? or browser session? ipaddr should be easy enough. browser session requires a unique tracking cookie per browser session.
I guess ip address yeah in case someone opens like 7 new tabs of the same spectate mode or something
api will probably be /progress/{code}/views. Will return number of current views. I dont feel like adding this at the moment, but it does sound interesting so I might get around to the server side before the v4 run. Do you want to add the client page? should be just a simple thing that grabs the views and displays them how you want. and refresh.
I think we should probably put off any more completely new features until after v4 now. We should mainly just focus on finishing touches so we can get the run going sooner.
preliminary implementation up on server side. Need to rethink server paths.
I have absolutely no idea how feasible this is, but to incentivize people to use the spectate mode it could be cool to have a Browser Source on stream that displays how many people are actively spectating on the website. If a live view count is not possible maybe a running total of spectate views? This is extra flair so if this isn't easy to do, let's not worry about it.