aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/videos
Commit message (Collapse)AuthorAgeFilesLines
* Clearer video creation from API regarding ratesChocobozzz2022-06-082-3/+1
|
* Support video views/viewers stats in serverChocobozzz2022-04-151-2/+2
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Remove activitypub helperChocobozzz2022-03-234-4/+4
| | | | Put functions in lib/activitypub instead
* Don't store remote rates of remote videosChocobozzz2022-03-183-24/+38
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Add latency setting supportChocobozzz2022-03-091-0/+1
|
* Refactor video viewsChocobozzz2021-11-091-1/+0
| | | | | | | | Introduce viewers attribute for live videos Count views for live videos Reduce delay to see the viewer update for lives Add ability to configure video views buffer interval and view ip expiration
* Remove aws bug workaroundChocobozzz2021-10-221-1/+0
| | | | This has been fixed in https://github.com/aws/aws-sdk-js-v3/pull/2835
* Force live type specification in first stepChocobozzz2021-10-152-4/+4
|
* Remove old federation compatibilityChocobozzz2021-10-151-3/+0
|
* Process slow followers in unicast job queueChocobozzz2021-10-131-3/+3
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Use random names for VOD HLS playlistsChocobozzz2021-07-262-12/+13
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-3/+4
|
* Resolve object id from actors tooChocobozzz2021-06-161-0/+1
|
* Remove unnecessary awaitChocobozzz2021-06-151-1/+1
|
* Handle short video linksChocobozzz2021-06-141-0/+2
|
* Improve captions AP updaterChocobozzz2021-06-141-3/+0
|
* Optimize AP video captions updateChocobozzz2021-06-091-4/+21
|
* Try to speed up AP update transactionChocobozzz2021-06-083-17/+20
|
* Add logs for refresh functionsChocobozzz2021-06-081-0/+2
|
* createThumbnail -> updateThumbnailChocobozzz2021-06-041-3/+3
|
* fetch -> loadChocobozzz2021-06-032-6/+6
| | | | avoid confusion with AP fetch functions
* Move middleware utils in middlewaresChocobozzz2021-06-032-2/+2
| | | | helpers modules should not import models
* Refactor AP video logger tagsChocobozzz2021-06-035-18/+22
|
* Refactor AP actorsChocobozzz2021-06-032-3/+3
|
* Add tags to logs in AP videosChocobozzz2021-06-026-24/+42
|
* Refactor sync attributesChocobozzz2021-06-021-37/+50
|
* Refactor getOrCreateAPVideoChocobozzz2021-06-026-181/+198
|
* Move AP video channel creationChocobozzz2021-06-024-66/+41
|
* Refactor AP video create/updateChocobozzz2021-06-029-490/+455
|
* Refactor AP video updateChocobozzz2021-06-029-0/+1057