From b211106695bb82f6c32e53306081b5262c3d109d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 24 Mar 2022 13:36:47 +0100 Subject: Support video views/viewers stats in server * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') diff --git a/package.json b/package.json index 0b57a4321..a4beae7ac 100644 --- a/package.json +++ b/package.json @@ -121,6 +121,7 @@ "magnet-uri": "^6.1.0", "markdown-it": "^12.0.4", "markdown-it-emoji": "^2.0.0", + "maxmind": "^4.3.6", "memoizee": "^0.4.14", "morgan": "^1.5.3", "multer": "^1.4.4", -- cgit v1.2.3