PeerTube/packages/tests/src/shared
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
..
mock-servers Migrate server to ESM 2023-08-11 15:02:33 +02:00
actors.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
captions.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
checks.ts Generate small versions of banners too 2024-03-27 15:08:09 +01:00
client.ts Fix SEO and refactor HTML pages generation 2023-10-20 16:00:36 +02:00
directories.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
fixture-urls.ts Use more specific name 2024-03-18 11:28:43 +01:00
generate.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
import-export.ts Generate small versions of banners too 2024-03-27 15:08:09 +01:00
live.ts Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
notifications.ts Generate 600x600 and 1500x1500 avatars 2024-02-26 15:00:22 +01:00
peertube-runner-process.ts Fix runner test 2023-10-11 15:13:54 +02:00
plugins.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
requests.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
sql-command.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
streaming-playlists.ts Fix tests 2024-02-28 10:00:01 +01:00
tracker.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
video-playlists.ts Migrate server to ESM 2023-08-11 15:02:33 +02:00
videos.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
views.ts Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00
webtorrent.ts Add video aspect ratio in server 2024-02-27 15:24:34 +01:00