Video Client & Analytics Server
Simple video player client (based on JWPlayer) with a configurable analytics server in node.js
Pre Install
install Apache CouchDB, see installation guide
Install
git clone https://github.com/abanppc/vanalytics.git
cd vanalytics
npm install .
Post Install
Optionally configure your reverse proxy (e.g. nginx) to the proxy_pass to your node.js server
Configuration
Update config file
Upload Views to CouchDB
./pushapp couchdb_user couchdb_pass couchdb_host[=localhost]
Run
from the installation directory run
npm start
Sample reports
-
Views Histogram by (UUID,UserId)
GET /analytics/views/25ea3fae-4220-11e4-86da-2c44fd7f1164/user2
-
Total Watches by UUID
GET /analytics/watches/25ea3fae-4220-11e4-86da-2c44fd7f1164
-
Total Watches by (UUID/UserId)
GET /analytics/watches/25ea3fae-4220-11e4-86da-2c44fd7f1164/user2
-
Play/Replay by UUID
GET /analytics/prp/25ea3fae-4220-11e4-86da-2c44fd7f1164
-
Traffic Usage By UUID
GET /analytics/traffic/MultiBitrateVid.mp4
-
Traffic Usage By IP
GET /analytics/trafficIp/172.16.35.15