PeerTube/server/core/controllers/api/videos
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
..
blacklist.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
captions.ts Refactor uploadx middlewares 2024-02-21 13:49:08 +01:00
chapters.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
comment.ts Fix lint 2024-02-22 10:32:28 +01:00
files.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
import.ts Fix signup and import 2023-10-11 15:58:16 +02:00
index.ts Fix lint 2024-02-22 10:32:28 +01:00
live.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
ownership.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
passwords.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
rate.ts Implement user import/export in server 2024-02-21 13:49:08 +01:00
source.ts Add ability to list and delete original file 2024-03-26 14:10:02 +01:00
stats.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
storyboard.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
studio.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
token.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
transcoding.ts server/server -> server/core 2023-10-04 15:13:25 +02:00
update.ts Support chapter import/export 2024-02-21 13:49:08 +01:00
upload.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00
view.ts Use sessionId instead of IP to identify viewer 2024-04-04 16:27:40 +02:00