Commit Graph

5 Commits

Author SHA1 Message Date
Zorglube 6947d87f9f Stream Viewers minimal statistics. 2021-03-15 23:55:18 +01:00
Zorchenhimer 607e61234c Add some more stats
Added a few more stats to keep track of:
- Max users in chat
- Stream start

Also added a `/stats` command to list the user count (current and max),
as well as uptime (sever and stream, separately).

Resolves #85
2019-04-14 00:25:49 -04:00
Zorchenhimer ec0c6752bc Fix some imports
Whoops.
2019-03-30 16:20:56 -04:00
Zorchenhimer a0a5e4be7d Replace some fmt.Printf()'s that were missed 2019-03-30 16:18:36 -04:00
joeyak fac6e285bd Add stream stats, minor changes in main, and adding ctrl+c handling
Stream statistics will now print when enabled in settings.json. There is messages in, messages out,
and total time running. The main function was changed so the server setups for the main and rtmp
are in separate functions, and both are started with their own goroutine. OS Interrupt catching was added,
and if stream stats is true, the stats will be printed.
2019-03-21 16:20:50 -04:00