PeerTube/packages/models/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
..
activitypub Add postingRestrictedToMods to channels AP objects 2024-02-27 15:46:38 +01:00
actors Migrate server to ESM 2023-08-11 15:02:33 +02:00
bulk Migrate server to ESM 2023-08-11 15:02:33 +02:00
common Implement user import/export in server 2024-02-21 13:49:08 +01:00
custom-markup Add ability to set avatar to instance 2024-02-23 14:27:11 +01:00
feeds Migrate server to ESM 2023-08-11 15:02:33 +02:00
http Migrate server to ESM 2023-08-11 15:02:33 +02:00
import-export Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
joinpeertube Migrate server to ESM 2023-08-11 15:02:33 +02:00
metrics Migrate server to ESM 2023-08-11 15:02:33 +02:00
moderation Migrate server to ESM 2023-08-11 15:02:33 +02:00
nodeinfo Migrate server to ESM 2023-08-11 15:02:33 +02:00
overviews Migrate server to ESM 2023-08-11 15:02:33 +02:00
plugins feat: add support for sub routes under /my-account (#6218) 2024-04-04 08:17:59 +02:00
redundancy Migrate server to ESM 2023-08-11 15:02:33 +02:00
runners Respect "transcode original resolution" for runner 2023-11-17 16:25:11 +01:00
search Migrate server to ESM 2023-08-11 15:02:33 +02:00
server Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
tokens Migrate server to ESM 2023-08-11 15:02:33 +02:00
users Add total video file size column in users list 2024-02-21 15:28:38 +01:00
videos Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
index.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00