1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00
Commit graph

40 commits

Author SHA1 Message Date
Chocobozzz
d0acc7e35f
Redundancy federation typo 2025-02-13 15:51:03 +01:00
Chocobozzz
7895697ce1
Fix redundancy federation warning 2025-02-13 09:42:29 +01:00
Chocobozzz
50b067f9cd
Separate player in dedicated build
* Separate player in a dedicated build, that we can control using vite.
   We had too many issues with Angular build system and we can now
   have the same build between the embed and the client. We can also
   embed SVG directly in the CSS
 * Upgrade p2p-media-loader to v2
 * Update internal infohashes to reflect this p2p-media-loader protocol
   change (they are updated at PeerTube startup)
 * Minimum required iOS version is now v14
2025-02-10 15:38:20 +01:00
Chocobozzz
05f105d03f
Remove web video redundancy support
It's not used anymore in the player since several major versions now, so
there's no point in continuing to store these video files
2025-01-31 11:13:13 +01:00
Chocobozzz
fcd71e14a4
Enable viewers protocol v2 2025-01-13 11:41:07 +01:00
Chocobozzz
038c410308
Fix http signature key url 2025-01-13 09:11:11 +01:00
Chocobozzz
3842a527f6
Remove deprecated server code 2024-11-04 10:23:01 +01:00
Chocobozzz
7e9fba3ae5
Fix deleting an unknown actor 2024-09-25 14:03:44 +02:00
Chocobozzz
a9cb29dfc1
More info when logging the request 2024-09-17 08:35:54 +02:00
Chocobozzz
d794988ebd
Fix logging 2024-09-16 16:13:41 +02:00
Chocobozzz
c0b2bc9a08
Fix abuse message exception when target is removed 2024-08-16 10:59:07 +02:00
Chocobozzz
766f2cb76a
Relax federation logs 2024-08-13 09:38:37 +02:00
Chocobozzz
816f346a60 Separate HLS audio and video streams
Allows:
  * The HLS player to propose an "Audio only" resolution
  * The live to output an "Audio only" resolution
  * The live to ingest and output an "Audio only" stream

 This feature is under a config for VOD videos and is enabled by default for lives

 In the future we can imagine:
  * To propose multiple audio streams for a specific video
  * To ingest an audio only VOD and just output an audio only "video"
    (the player would play the audio file and PeerTube would not
    generate additional resolutions)

This commit introduce a new way to download videos:
 * Add "/download/videos/generate/:videoId" endpoint where PeerTube can
   mux an audio only and a video only file to a mp4 container
 * The download client modal introduces a new default panel where the
   user can choose resolutions it wants to download
2024-08-05 08:31:59 +02:00
Chocobozzz
fd4831e502
Metadata to know if the caption is auto generated 2024-06-28 08:44:59 +02:00
Chocobozzz
05d84f659d
Fix loading actor involved in video 2024-06-21 16:05:40 +02:00
Chocobozzz
985e79f61e
Fix lint and tests 2024-06-21 15:28:09 +02:00
Chocobozzz
802601c241
Fix channel update federation 2024-06-20 08:48:24 +02:00
Chocobozzz
346be1d478
Support Service AP actors 2024-06-19 17:08:59 +02:00
Chocobozzz
7c9f07e140
Improve Video AP compatibility
Compat with text/html descriptions
Compat with SPDX for licences
Compat with missing sensitive attribute
Compat with missing tag attribute
Compat with missing video file magnet URI
Compat with missing streaming playlist segmentsSha256Url
Compat with optional comments/likes/dislikes/shares URI in video object

Add more debug logs when the object is not valid
2024-06-03 09:36:29 +02:00
Chocobozzz
1e3a5b25c3
Plan to have multiple sizes in the future 2024-05-31 09:02:34 +02:00
Chocobozzz
6a4db88e5c
Handle 410 HTTP response code for AP objects 2024-05-30 10:28:20 +02:00
Chocobozzz
29329d6c45 Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or
   watched word lists
 * These tags can be used to automatically filter videos and comments
 * Introduce a new video comment policy where comments must be approved
   first
 * Comments may have to be approved if the user auto block them using
   core rules or watched word lists
 * Implement FEP-5624 to federate reply control policies
2024-05-29 15:03:14 +02:00
Chocobozzz
afb28272f5
Check video rights before providing AP information 2024-04-26 10:09:38 +02:00
Chocobozzz
b8635c2606
Compact json-ld AP objects 2024-04-25 11:21:55 +02:00
Chocobozzz
3f8454ce63
Fix creating remote tracker URLs on video creation 2024-03-27 15:26:15 +01:00
Chocobozzz
11521f231f
Generate small versions of banners too 2024-03-27 15:08:09 +01:00
Chocobozzz
b6b1aaa56f
Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
Chocobozzz
466acae1e5
Remove redundant thumbnail save 2024-02-26 16:36:03 +01:00
Chocobozzz
7986ab8452 Support chapter import/export 2024-02-21 13:49:08 +01:00
Chocobozzz
8573e5a80a Implement user import/export in server 2024-02-21 13:49:08 +01:00
Chocobozzz
1387e0a3bb
It's 2024! 2024-02-16 08:58:29 +01:00
Chocobozzz
a012d6c2a9
Add notification on subscription live stream 2024-02-15 14:06:25 +01:00
Chocobozzz
4cbea51255
Add subdivision to viewer stats 2023-12-28 09:56:05 +01:00
Chocobozzz
4f3fb47884
Implement FEP-2677
Better way to find and follow remote instance actor
2023-12-27 16:01:52 +01:00
Chocobozzz
b4f4432459
Viewers federation protocol v2
More efficient than the current one where instance is not fast enough to
send all viewers if a video becomes popular

The new protocol can be enabled by setting env
USE_VIEWERS_FEDERATION_V2='true'

Introduce a result field in View activity that contains the number of
viewers. This field is used by the origin instance to send the total
viewers on the video to remote instances. The difference with the
current protocol is that we don't have to send viewers individually to
remote instances.

There are 4 cases:
 * View activity from federation on Remote Video -> instance replaces
   all current viewers by a new viewer that contains the result counter
 * View activity from federation on Local Video -> instance adds the
   viewer without considering the result counter
 * Local view on Remote Video -> instance adds the viewer and send it to
   the origin instance
 * Local view on Local Video -> instance adds the viewer

Periodically PeerTube cleanups expired viewers. On local videos, the
instance sends to remote instances a View activity with the result
counter so they can update their viewers counter for that particular
video
2023-12-20 10:55:47 +01:00
Chocobozzz
1e121c9898
Fix invalid state change notif of remote live 2023-12-15 15:58:07 +01:00
Chocobozzz
443358ccce
Reduce video comment sql query size 2023-10-31 10:02:19 +01:00
Chocobozzz
edc3ff6085
Sign JSON objects in worker threads 2023-10-24 10:45:17 +02:00
Chocobozzz
2db1f3238d
Update server dependencies 2023-10-11 11:06:34 +02:00
Chocobozzz
5a3d0650c9
server/server -> server/core 2023-10-04 15:13:25 +02:00