Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Viewer counter increase/decrease detecting #94

Open
danluki opened this issue Apr 2, 2023 · 4 comments
Open

Viewer counter increase/decrease detecting #94

danluki opened this issue Apr 2, 2023 · 4 comments

Comments

@danluki
Copy link
Contributor

danluki commented Apr 2, 2023

Idea is to detect exponential increasing viewers count, because in this time usually something important or just funny, happening on stream. Of course it is must be configurable to any of viewers count.

@Satont
Copy link
Owner

Satont commented Apr 2, 2023

It can be fun feature. But not sure i want implement it rn.

Do you wanna make PR?

@danluki
Copy link
Contributor Author

danluki commented Apr 3, 2023

Yes, I will implement it shortly

@danluki
Copy link
Contributor Author

danluki commented Apr 23, 2023

I think the implementation of this feat is more complicated, then I think at first. It's looks like I need some caching to create abstraction of exponential functional to detect viewers count increasing with acceptable accuracy. But it a bit more than need for a simple bot. Maybe, I will return for it later.

@Satont
Copy link
Owner

Satont commented Apr 23, 2023

Well we can have separate table in database, with viewer count, so we can track that. It's ok to have that data without ttl or something, so caching can be overcomplicated there.

I do not think it's that hard, but it requires some minds about WHEN we want to send users notifications. So, some formula needed.

I'm interested of thoughts from @AlexWayfer

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

No branches or pull requests

2 participants