aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/extra-utils/server/server.ts2
-rw-r--r--shared/models/videos/live/live-video.model.ts2
2 files changed, 4 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}`
diff --git a/shared/models/videos/live/live-video.model.ts b/shared/models/videos/live/live-video.model.ts
index d6e9a50d1..815a93804 100644
--- a/shared/models/videos/live/live-video.model.ts
+++ b/shared/models/videos/live/live-video.model.ts
@@ -1,5 +1,7 @@
1export interface LiveVideo { 1export interface LiveVideo {
2 rtmpUrl: string 2 rtmpUrl: string
3 rtmpsUrl: string
4
3 streamKey: string 5 streamKey: string
4 saveReplay: boolean 6 saveReplay: boolean
5 permanentLive: boolean 7 permanentLive: boolean