PeerTube/client/src/root-helpers
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
..
users Remove unused local storage keys 2024-02-29 13:54:30 +01:00
bytes.ts Add user import/export in client 2024-02-21 13:49:08 +01:00
images.ts Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
index.ts Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
local-storage-utils.ts Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
logger.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
peertube-web-storage.ts Fix client build 2021-10-11 09:37:26 +02:00
plugins-manager.ts feat: add support for sub routes under /my-account (#6218) 2024-04-04 08:17:59 +02:00
string.ts Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
url.ts Refactor embed 2022-05-31 10:39:56 +02:00
utils.ts Refactor embed 2022-05-31 10:39:56 +02:00
video.ts Add allow-forms to video/playlist embed 2024-03-19 15:27:59 +01:00
web-browser.ts Reorganize player files 2022-03-14 14:36:35 +01:00