diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-06 16:43:43 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | c655c9ef6f7ddb47a153adc04d5c10c6de3d5ed7 (patch) | |
tree | 7ccb6a7c97345747dde6c53fcd10c488140c7998 /server/tests/api/live/live.ts | |
parent | e4bf78561763cd84d22ebceb6f371cccf9a356d8 (diff) | |
download | PeerTube-c655c9ef6f7ddb47a153adc04d5c10c6de3d5ed7.tar.gz PeerTube-c655c9ef6f7ddb47a153adc04d5c10c6de3d5ed7.tar.zst PeerTube-c655c9ef6f7ddb47a153adc04d5c10c6de3d5ed7.zip |
Update ffmpeg static version for tests
Diffstat (limited to 'server/tests/api/live/live.ts')
-rw-r--r-- | server/tests/api/live/live.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 2198114b4..de3181928 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -121,7 +121,7 @@ describe('Test live', function () { | |||
121 | const live: LiveVideo = resLive.body | 121 | const live: LiveVideo = resLive.body |
122 | 122 | ||
123 | if (server.url === servers[0].url) { | 123 | if (server.url === servers[0].url) { |
124 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':1936/live') | 124 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') |
125 | expect(live.streamKey).to.not.be.empty | 125 | expect(live.streamKey).to.not.be.empty |
126 | } else { | 126 | } else { |
127 | expect(live.rtmpUrl).to.be.null | 127 | expect(live.rtmpUrl).to.be.null |
@@ -185,7 +185,7 @@ describe('Test live', function () { | |||
185 | const live: LiveVideo = res.body | 185 | const live: LiveVideo = res.body |
186 | 186 | ||
187 | if (server.url === servers[0].url) { | 187 | if (server.url === servers[0].url) { |
188 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':1936/live') | 188 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') |
189 | expect(live.streamKey).to.not.be.empty | 189 | expect(live.streamKey).to.not.be.empty |
190 | } else { | 190 | } else { |
191 | expect(live.rtmpUrl).to.be.null | 191 | expect(live.rtmpUrl).to.be.null |
@@ -216,7 +216,7 @@ describe('Test live', function () { | |||
216 | let rtmpUrl: string | 216 | let rtmpUrl: string |
217 | 217 | ||
218 | before(function () { | 218 | before(function () { |
219 | rtmpUrl = 'rtmp://' + servers[0].hostname + ':1936' | 219 | rtmpUrl = 'rtmp://' + servers[0].hostname + ':' + servers[0].rtmpPort + '' |
220 | }) | 220 | }) |
221 | 221 | ||
222 | async function createLiveWrapper () { | 222 | async function createLiveWrapper () { |