Move IAM dependency to rewriter module

This commit is contained in:
Ingo Oppermann
2023-07-10 13:20:24 +02:00
parent 34404a76d2
commit 9462ccfd48
7 changed files with 58 additions and 111 deletions

View File

@@ -884,6 +884,7 @@ func (a *api) start(ctx context.Context) error {
HTTPBase: "http://" + httpBase,
RTMPBase: "rtmp://" + rtmpBase,
SRTBase: "srt://" + srtBase,
IAM: a.iam,
})
if err != nil {
return fmt.Errorf("unable to create url rewriter: %w", err)
@@ -1153,7 +1154,6 @@ func (a *api) start(ctx context.Context) error {
FFmpeg: a.ffmpeg,
MaxProcesses: cfg.FFmpeg.MaxProcesses,
Resources: a.resources,
IAM: a.iam,
Logger: a.log.logger.core.WithComponent("Process"),
})