mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
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
This commit is contained in:
parent
2fe6ce79f1
commit
50b067f9cd
151 changed files with 868 additions and 578 deletions
|
@ -423,7 +423,7 @@ export const CONSTRAINTS_FIELDS = {
|
|||
}
|
||||
},
|
||||
EXTNAME: [] as string[],
|
||||
INFO_HASH: { min: 40, max: 40 }, // Length, info hash is 20 bytes length but we represent it in hexadecimal so 20 * 2
|
||||
INFO_HASH: { min: 10, max: 100 },
|
||||
DURATION: { min: 0 }, // Number
|
||||
TAGS: { min: 0, max: 5 }, // Number of total tags
|
||||
TAG: { min: 2, max: 30 }, // Length
|
||||
|
@ -1112,7 +1112,9 @@ export const TRACKER_RATE_LIMITS = {
|
|||
BLOCK_IP_LIFETIME: parseDurationToMs('3 minutes')
|
||||
}
|
||||
|
||||
export const P2P_MEDIA_LOADER_PEER_VERSION = 2
|
||||
// We use -2 instead of 2 because of historical reason
|
||||
// When p2p-media-loader bumps to v3, we'll be able to switch to it
|
||||
export const P2P_MEDIA_LOADER_PEER_VERSION = -2
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue