aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r--shared/extra-utils/server/server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/server/server.ts b/shared/extra-utils/server/server.ts
index f7048ba43..1ed00d724 100644
--- a/shared/extra-utils/server/server.ts
+++ b/shared/extra-utils/server/server.ts
@@ -56,6 +56,7 @@ export class PeerTubeServer {
56 port?: number 56 port?: number
57 57
58 rtmpPort?: number 58 rtmpPort?: number
59 rtmpsPort?: number
59 60
60 parallel?: boolean 61 parallel?: boolean
61 internalServerNumber: number 62 internalServerNumber: number
@@ -154,6 +155,7 @@ export class PeerTubeServer {
154 155
155 this.internalServerNumber = this.parallel ? this.randomServer() : this.serverNumber 156 this.internalServerNumber = this.parallel ? this.randomServer() : this.serverNumber
156 this.rtmpPort = this.parallel ? this.randomRTMP() : 1936 157 this.rtmpPort = this.parallel ? this.randomRTMP() : 1936
158 this.rtmpsPort = this.parallel ? this.randomRTMP() : 1937
157 this.port = 9000 + this.internalServerNumber 159 this.port = 9000 + this.internalServerNumber
158 160
159 this.url = `http://localhost:${this.port}` 161 this.url = `http://localhost:${this.port}`