diff options
Diffstat (limited to 'shared/extra-utils/videos/live-command.ts')
-rw-r--r-- | shared/extra-utils/videos/live-command.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/extra-utils/videos/live-command.ts b/shared/extra-utils/videos/live-command.ts index bf9486a05..81ae458e0 100644 --- a/shared/extra-utils/videos/live-command.ts +++ b/shared/extra-utils/videos/live-command.ts | |||
@@ -68,11 +68,12 @@ export class LiveCommand extends AbstractCommand { | |||
68 | async sendRTMPStreamInVideo (options: OverrideCommandOptions & { | 68 | async sendRTMPStreamInVideo (options: OverrideCommandOptions & { |
69 | videoId: number | string | 69 | videoId: number | string |
70 | fixtureName?: string | 70 | fixtureName?: string |
71 | copyCodecs?: boolean | ||
71 | }) { | 72 | }) { |
72 | const { videoId, fixtureName } = options | 73 | const { videoId, fixtureName, copyCodecs } = options |
73 | const videoLive = await this.get({ videoId }) | 74 | const videoLive = await this.get({ videoId }) |
74 | 75 | ||
75 | return sendRTMPStream(videoLive.rtmpUrl, videoLive.streamKey, fixtureName) | 76 | return sendRTMPStream({ rtmpBaseUrl: videoLive.rtmpUrl, streamKey: videoLive.streamKey, fixtureName, copyCodecs }) |
76 | } | 77 | } |
77 | 78 | ||
78 | async runAndTestStreamError (options: OverrideCommandOptions & { | 79 | async runAndTestStreamError (options: OverrideCommandOptions & { |