PeerTube/packages/tests/src
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
..
api Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
cli Generate 600x600 and 1500x1500 avatars 2024-02-26 15:00:22 +01:00
client Remove difficult to maintain config update method 2024-03-28 09:10:36 +01:00
external-plugins Remove difficult to maintain config update method 2024-03-28 09:10:36 +01:00
feeds Fix feed audio file mimetype 2023-10-03 12:20:11 +02:00
peertube-runner Remove difficult to maintain config update method 2024-03-28 09:10:36 +01:00
plugins feat(plugins): add req.rawBody for routes 2024-04-02 11:06:34 +02:00
server-helpers Use more specific name 2024-03-18 11:28:43 +01:00
server-lib server/server -> server/core 2023-10-04 15:13:25 +02:00
shared Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
misc-endpoints.ts Add FEP-2677 tests 2023-12-27 16:18:18 +01:00
nginx.ts Fix nginx serving private hls files 2024-01-18 09:09:31 +01:00