mirror of
https://github.com/datarhei/core.git
synced 2025-10-21 15:09:36 +08:00
Move IAM dependency to rewriter module
This commit is contained in:
@@ -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"),
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user