aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-14 09:36:55 +0200
committerChocobozzz <me@florianbigard.com>2021-10-14 09:36:55 +0200
commit179bfea5e053c6668bf72f60f0f5f214c27e3172 (patch)
tree2d157e36968c998f514781fb61cb406fbd210d2e /shared/extra-utils
parent87c0f718dc91514eb3674eda61a5ef6facef55ac (diff)
downloadPeerTube-179bfea5e053c6668bf72f60f0f5f214c27e3172.tar.gz
PeerTube-179bfea5e053c6668bf72f60f0f5f214c27e3172.tar.zst
PeerTube-179bfea5e053c6668bf72f60f0f5f214c27e3172.zip
Fix import tests
Diffstat (limited to 'shared/extra-utils')
-rw-r--r--shared/extra-utils/miscs/tests.ts15
1 files changed, 4 insertions, 11 deletions
diff --git a/shared/extra-utils/miscs/tests.ts b/shared/extra-utils/miscs/tests.ts
index 5b5430278..6299a48f5 100644
--- a/shared/extra-utils/miscs/tests.ts
+++ b/shared/extra-utils/miscs/tests.ts
@@ -10,21 +10,14 @@ const FIXTURE_URLS = {
10 /** 10 /**
11 * The video is used to check format-selection correctness wrt. HDR, 11 * The video is used to check format-selection correctness wrt. HDR,
12 * which brings its own set of oddities outside of a MediaSource. 12 * which brings its own set of oddities outside of a MediaSource.
13 * FIXME: refactor once HDR is supported at playback
14 * 13 *
15 * The video needs to have the following format_ids: 14 * The video needs to have the following format_ids:
16 * (which you can check by using `youtube-dl <url> -F`): 15 * (which you can check by using `youtube-dl <url> -F`):
17 * - 303 (1080p webm vp9) 16 * - (webm vp9)
18 * - 299 (1080p mp4 avc1) 17 * - (mp4 avc1)
19 * - 335 (1080p webm vp9.2 HDR) 18 * - (webm vp9.2 HDR)
20 *
21 * 15 jan. 2021: TEST VIDEO NOT CURRENTLY PROVIDING
22 * - 400 (1080p mp4 av01)
23 * - 315 (2160p webm vp9 HDR)
24 * - 337 (2160p webm vp9.2 HDR)
25 * - 401 (2160p mp4 av01 HDR)
26 */ 19 */
27 youtubeHDR: 'https://www.youtube.com/watch?v=qR5vOXbZsI4', 20 youtubeHDR: 'https://www.youtube.com/watch?v=RQgnBB9z_N4',
28 21
29 // eslint-disable-next-line max-len 22 // eslint-disable-next-line max-len
30 magnet: 'magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2Fb209ca00-c8bb-4b2b-b421-1ede169f3dbc-720.torrent&xt=urn:btih:0f498834733e8057ed5c6f2ee2b4efd8d84a76ee&dn=super+peertube2+video&tr=wss%3A%2F%2Fpeertube2.cpy.re%3A443%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2Fb209ca00-c8bb-4b2b-b421-1ede169f3dbc-720.mp4', 23 magnet: 'magnet:?xs=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Ftorrents%2Fb209ca00-c8bb-4b2b-b421-1ede169f3dbc-720.torrent&xt=urn:btih:0f498834733e8057ed5c6f2ee2b4efd8d84a76ee&dn=super+peertube2+video&tr=wss%3A%2F%2Fpeertube2.cpy.re%3A443%2Ftracker%2Fsocket&tr=https%3A%2F%2Fpeertube2.cpy.re%2Ftracker%2Fannounce&ws=https%3A%2F%2Fpeertube2.cpy.re%2Fstatic%2Fwebseed%2Fb209ca00-c8bb-4b2b-b421-1ede169f3dbc-720.mp4',