aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live
Commit message (Collapse)AuthorAgeFilesLines
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-20/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Improve target bitrate calculationChocobozzz2021-08-061-1/+1
|
* Limit live bitrateChocobozzz2021-08-061-6/+34
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-13/+19
|
* Reorganize importsChocobozzz2021-07-206-11/+17
|
* Refactor requestsChocobozzz2021-07-202-2/+2
|
* Use an object to represent a serverChocobozzz2021-07-206-26/+25
|
* Shorter server command namesChocobozzz2021-07-206-119/+119
|
* Introduce videos commandChocobozzz2021-07-206-110/+78
|
* Introduce user commandChocobozzz2021-07-201-6/+2
|
* Introduce server commandsChocobozzz2021-07-201-2/+1
|
* Introduce sql commandChocobozzz2021-07-201-1/+1
|
* Introduce streaming playlists commandChocobozzz2021-07-201-5/+11
|
* Introduce blacklist commandChocobozzz2021-07-202-5/+3
|
* Shorter live methodsChocobozzz2021-07-206-44/+44
|
* Introduce live commandChocobozzz2021-07-206-118/+92
|
* Introduce socket io commandChocobozzz2021-07-201-6/+5
|
* Introduce config commandChocobozzz2021-07-206-75/+87
|
* Refactor live managerChocobozzz2021-06-174-225/+334
|
* Fix live files includeChocobozzz2021-06-111-1/+1
|
* Increase permanent live test timeoutChocobozzz2021-06-081-1/+1
|
* Refactor a little bit live testsChocobozzz2021-05-073-75/+27
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-0/+65
|
* Increase ffmpeg tests timeoutChocobozzz2021-04-151-5/+5
|
* Increase timeoutsChocobozzz2021-03-041-2/+2
|
* Fix stats testsChocobozzz2021-02-191-3/+16
|
* Fix testsChocobozzz2021-02-191-1/+11
|
* Try to speed up server testsChocobozzz2021-02-192-23/+36
|
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-133-0/+4
|
* Increase live test timeoutChocobozzz2021-01-081-1/+1
|
* Fix live badge in videos listChocobozzz2020-12-161-0/+16
|
* Use -1 for max live duration unlimitedChocobozzz2020-12-153-4/+4
|
* Fix tests timeoutChocobozzz2020-12-142-3/+7
|
* Add joblog at the end of ciChocobozzz2020-12-141-0/+2
|
* Parse log script can take files as argsChocobozzz2020-12-141-2/+3
|
* Live views updateChocobozzz2020-12-091-1/+50
|
* Refactor views componentChocobozzz2020-12-091-3/+2
|
* Fix live testsChocobozzz2020-12-093-28/+29
|
* Upgrade sequelize to v6Chocobozzz2020-12-091-6/+1
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-082-25/+27
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Fix live transcoding testsChocobozzz2020-12-041-1/+1
|
* Strict actor url comparisonChocobozzz2020-12-031-1/+0
|
* Add permanent live supportChocobozzz2020-12-032-0/+191
|
* Increase live constraint test timeoutChocobozzz2020-12-021-1/+1
|
* Fix live replay duration glitchChocobozzz2020-12-021-0/+2
|
* Try to fix live testsChocobozzz2020-11-301-2/+9
|
* More robust live testChocobozzz2020-11-271-4/+4
|
* Try to fix live testChocobozzz2020-11-261-0/+3
|
* Fix live FPS limitChocobozzz2020-11-261-2/+7
|
* Add transcoding module commentsChocobozzz2020-11-251-5/+7
|