PeerTube/server/core
Chocobozzz 5cb3e6a0b8
Use sessionId instead of IP to identify viewer
Breaking: YAML config `ip_view_expiration` is renamed `view_expiration`
Breaking: Views are taken into account after 10 seconds instead of 30
seconds (can be changed in YAML config)

Purpose of this commit is to get closer to other video platforms where
some platforms count views on play (mux, vimeo) or others use a very low
delay (instagram, tiktok)

We also want to improve the viewer identification, where we no longer
use the IP but the `sessionId` generated by the web browser. Multiple
viewers behind a NAT can now be able to be identified as independent
viewers (this method is also used by vimeo or mux)
2024-04-04 16:27:40 +02:00
..
assets Move email templates in assets directory 2024-03-20 09:15:07 +01:00
controllers Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
helpers Fix views crash on geoip update failure 2024-04-03 15:11:10 +02:00
initializers Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
lib Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
middlewares Fix lint 2024-03-26 17:43:03 +01:00
models Do not take into account empty view sections 2024-04-03 14:25:21 +02:00
static/dnt-policy
types feat(plugins): add peertubeHelpers.loadByIdOrUUIDWithFiles (#6302) 2024-04-04 08:20:09 +02:00