aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r--server/tests/api/live/live.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 88995910c..4676a840a 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -4,19 +4,18 @@ import 'mocha'
4import * as chai from 'chai' 4import * as chai from 'chai'
5import { join } from 'path' 5import { join } from 'path'
6import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils' 6import { ffprobePromise, getVideoStreamFromFile } from '@server/helpers/ffprobe-utils'
7import { HttpStatusCode } from '@shared/models'
8import { 7import {
9 checkLiveCleanup, 8 checkLiveCleanup,
10 checkLiveSegmentHash, 9 checkLiveSegmentHash,
11 checkResolutionsInMasterPlaylist, 10 checkResolutionsInMasterPlaylist,
12 cleanupTests, 11 cleanupTests,
13 doubleFollow,
14 createMultipleServers, 12 createMultipleServers,
13 doubleFollow,
15 killallServers, 14 killallServers,
16 LiveCommand, 15 LiveCommand,
17 makeRawRequest, 16 makeRawRequest,
18 sendRTMPStream,
19 PeerTubeServer, 17 PeerTubeServer,
18 sendRTMPStream,
20 setAccessTokensToServers, 19 setAccessTokensToServers,
21 setDefaultVideoChannel, 20 setDefaultVideoChannel,
22 stopFfmpeg, 21 stopFfmpeg,
@@ -26,7 +25,15 @@ import {
26 waitJobs, 25 waitJobs,
27 waitUntilLivePublishedOnAllServers 26 waitUntilLivePublishedOnAllServers
28} from '@shared/extra-utils' 27} from '@shared/extra-utils'
29import { LiveVideo, LiveVideoCreate, VideoDetails, VideoPrivacy, VideoState, VideoStreamingPlaylistType } from '@shared/models' 28import {
29 HttpStatusCode,
30 LiveVideo,
31 LiveVideoCreate,
32 VideoDetails,
33 VideoPrivacy,
34 VideoState,
35 VideoStreamingPlaylistType
36} from '@shared/models'
30 37
31const expect = chai.expect 38const expect = chai.expect
32 39