25 Commits

Author SHA1 Message Date
Chocobozzz
56419fd515 More robust live handler on invalid ffprobe 2025-02-12 10:33:37 +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
baefe61cff Fix duplicated resolutions when capping fps 2024-09-11 16:06:33 +02:00
Chocobozzz
8e644dedb2 Fix tests 2024-09-11 15:51:15 +02:00
Chocobozzz
71bdad9f5e Correctly cleanup permanent live empty directories 2024-09-11 14:45:02 +02:00
Chocobozzz
bbaf96d60d Support max FPS configuration 2024-08-13 09:38:36 +02:00
Chocobozzz
25684e837c Fix client player error on fast restream 2024-08-09 10:00:34 +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
3d105296e6 Fix concurrent live streams serialization issue 2024-05-16 11:38:36 +02:00
Chocobozzz
c09e27d77a Optimize transcoding profile building 2024-03-19 09:53:59 +01:00
Chocobozzz
0301d77254 Don't cancel finished jobs 2024-03-19 08:39:23 +01:00
Chocobozzz
c727a34cb6 Prevent aborting another live session 2024-03-18 16:09:22 +01:00
Chocobozzz
b6b1aaa56f Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
Chocobozzz
68d006b6fc Add config to disable storing lives in s3 2024-02-26 16:14:40 +01:00
Chocobozzz
9e2700b89d Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz
0648d57870 Add total video file size column in users list 2024-02-21 15:28:38 +01:00
Chocobozzz
8573e5a80a Implement user import/export in server 2024-02-21 13:49:08 +01:00
Chocobozzz
ba3820965f Blocked users must not be able to live stream 2024-02-15 14:27:52 +01:00
Chocobozzz
a012d6c2a9 Add notification on subscription live stream 2024-02-15 14:06:25 +01:00
Chocobozzz
8758d8ed8f Ensure file is flushed before renaming it 2024-02-15 09:00:25 +01:00
Chocobozzz
ff338f7dda Fix embed when waiting for a live 2023-12-08 10:13:08 +01:00
Chocobozzz
543fbd1ffe Correctly display broken muxing session
Can happen when we stream an audio stream only
2023-10-30 11:57:39 +01:00
Chocobozzz
606c044dc8 Fix uploading empty master playlist on s3 2023-10-26 15:14:14 +02:00
Chocobozzz
8ecf95471d Also remove video session on muxing error 2023-10-26 09:07:26 +02:00
Chocobozzz
5a3d0650c9 server/server -> server/core 2023-10-04 15:13:25 +02:00