Commit Graph

15 Commits (5cb3e6a0b89b3d843920e720b8abfbd2451eda0b)

Author SHA1 Message Date
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
Chocobozzz c97b8fd2ea
Add caption button to player control bar 2024-02-19 16:14:29 +01:00
Chocobozzz 42b4063699
Add ability for client to create server logs 2022-07-18 11:37:18 +02:00
Chocobozzz a9bfa85d2c
Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
Chocobozzz c6bfbaebe7
Fix error when cookies are disabled 2021-06-25 15:40:59 +02:00
Rigel Kent ff563914bb add stats videojs plugin 2021-04-28 09:05:44 +02:00
kontrollanten 58b9ce3080
Resume videos for non-logged in users (#3885)
* client: resume videos for non-logged in users

closes #3866

* fix build for embeded

* Update client/src/app/app.component.ts

* fix review comments
2021-03-31 11:26:32 +02:00
Chocobozzz 43c66a91df
Add ability to disable P2P in HLS player too 2019-11-29 14:14:47 +01:00
Chocobozzz 011e1e6b37
Speedup video watch layout build 2019-06-11 16:26:48 +02:00
Chocobozzz 3b019808ef
Set last subtitle or subtitle in URL 2018-12-17 14:15:30 +01:00
Chocobozzz e280dd0681
Fix webtorrent disabled by default 2018-10-19 14:56:26 +02:00
Rigel Kent ed638e5325
move to boolean switch 2018-10-13 11:53:48 +02:00
Rigel Kent 64cc5e8575
add webtorrent opt-out settings
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
Chocobozzz b224ddd88b
Fix player playback (video never ends) 2018-08-28 10:23:21 +02:00
Chocobozzz 7b3a99d517
Move player local storage functions in their own file 2018-06-18 10:26:19 +02:00