diff options
Diffstat (limited to 'server/tests/api/check-params/live.ts')
-rw-r--r-- | server/tests/api/check-params/live.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.ts index 700b4724d..8e1d655d4 100644 --- a/server/tests/api/check-params/live.ts +++ b/server/tests/api/check-params/live.ts | |||
@@ -417,7 +417,7 @@ describe('Test video lives API validator', function () { | |||
417 | 417 | ||
418 | const live = await command.get({ videoId: video.id }) | 418 | const live = await command.get({ videoId: video.id }) |
419 | 419 | ||
420 | const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey) | 420 | const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey }) |
421 | 421 | ||
422 | await command.waitUntilPublished({ videoId: video.id }) | 422 | await command.waitUntilPublished({ videoId: video.id }) |
423 | await command.update({ videoId: video.id, fields: {}, expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) | 423 | await command.update({ videoId: video.id, fields: {}, expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) |
@@ -430,7 +430,7 @@ describe('Test video lives API validator', function () { | |||
430 | 430 | ||
431 | const live = await command.get({ videoId: video.id }) | 431 | const live = await command.get({ videoId: video.id }) |
432 | 432 | ||
433 | const ffmpegCommand = sendRTMPStream(live.rtmpUrl, live.streamKey) | 433 | const ffmpegCommand = sendRTMPStream({ rtmpBaseUrl: live.rtmpUrl, streamKey: live.streamKey }) |
434 | 434 | ||
435 | await command.waitUntilPublished({ videoId: video.id }) | 435 | await command.waitUntilPublished({ videoId: video.id }) |
436 | 436 | ||