diff --git a/go.mod b/go.mod index 7df578de..2a797fb0 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/livepeer/go-tools v0.0.0-20220805063103-76df6beb6506 github.com/livepeer/joy4 v0.1.2-0.20220210094601-95e4d28f5f07 github.com/livepeer/livepeer-data v0.4.14 - github.com/livepeer/stream-tester v0.12.21 + github.com/livepeer/stream-tester v0.12.22-0.20220912203630-834754b3932b github.com/peterbourgon/ff v1.7.1 github.com/rabbitmq/amqp091-go v1.1.0 github.com/stretchr/testify v1.8.0 diff --git a/go.sum b/go.sum index 3b056fa5..82ce557c 100644 --- a/go.sum +++ b/go.sum @@ -741,8 +741,8 @@ github.com/livepeer/livepeer-data v0.4.14/go.mod h1:VIbJRdyH2Tas8EgLVkP79IPMepFD github.com/livepeer/lpms v0.0.0-20220523122311-fc32eb80248c/go.mod h1:Hr/JhxxPDipOVd4ZrGYWrdJfpVF8/SEI0nNr2ctAlkM= github.com/livepeer/m3u8 v0.11.1 h1:VkUJzfNTyjy9mqsgp5JPvouwna8wGZMvd/gAfT5FinU= github.com/livepeer/m3u8 v0.11.1/go.mod h1:IUqAtwWPAG2CblfQa4SVzTQoDcEMPyfNOaBSxqHMS04= -github.com/livepeer/stream-tester v0.12.21 h1:B2JuhWdI9p36TS9mjqaqmwGs+mCnxSr19ujc6cU7CKU= -github.com/livepeer/stream-tester v0.12.21/go.mod h1:ldpj4E9rjl8TMvi8UVFRV2bmcknGL0wRPz/B7qKUXDk= +github.com/livepeer/stream-tester v0.12.22-0.20220912203630-834754b3932b h1:JFe8mFUUCah/b55E1tvfQjrD3ZJ5MzrfZ1+YTlZLTeE= +github.com/livepeer/stream-tester v0.12.22-0.20220912203630-834754b3932b/go.mod h1:ldpj4E9rjl8TMvi8UVFRV2bmcknGL0wRPz/B7qKUXDk= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= diff --git a/task/prepare.go b/task/prepare.go index d0400a98..25475319 100644 --- a/task/prepare.go +++ b/task/prepare.go @@ -129,7 +129,7 @@ func Prepare(tctx *TaskContext, assetSpec *api.AssetSpec, file io.ReadSeekCloser return "", fmt.Errorf("missing recording URL in stream") } duration := time.Duration(assetSpec.VideoSpec.DurationSec * float64(time.Second)) - err = m3u8.Check(ctx, stream.RecordingURL, duration) + err = m3u8.Check(ctx, stream.RecordingURL, profiles, duration) if err != nil { return "", fmt.Errorf("bad m3u8 playlist generated: %w", err) }