Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-buster as builder
FROM golang:1.22-bookworm as builder

WORKDIR /app

Expand All @@ -15,7 +15,7 @@ COPY . .

RUN make "version=$version"

FROM debian:buster-slim
FROM debian:bookworm-slim

RUN apt update \
&& apt install -yqq ca-certificates \
Expand Down
1 change: 1 addition & 0 deletions clients/catalyst.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type UploadVODRequest struct {
Encryption *EncryptionPayload `json:"encryption,omitempty"`
ClipStrategy ClipStrategy `json:"clip_strategy,omitempty"`
C2PA bool `json:"c2pa,omitempty"`
Reencode bool `json:"reencode_segmentation,omitempty"`
}

type EncryptionPayload struct {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/golang/glog v1.2.0
github.com/julienschmidt/httprouter v1.3.0
github.com/livepeer/catalyst-api v0.1.2-0.20230925142340-c311569665b4
github.com/livepeer/go-api-client v0.4.23-0.20240522195759-00d172d35bbb
github.com/livepeer/go-api-client v0.4.24-0.20260224172655-8553bc86db26
github.com/livepeer/go-tools v0.3.2
github.com/livepeer/livepeer-data v0.7.5-0.20230927031152-b938ac1dc665
github.com/peterbourgon/ff v1.7.1
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,8 @@ github.com/libp2p/go-netroute v0.2.0 h1:0FpsbsvuSnAhXFnCY0VLFbJOzaK0VnP0r1QT/o4n
github.com/libp2p/go-openssl v0.1.0 h1:LBkKEcUv6vtZIQLVTegAil8jbNpJErQ9AnT+bWV+Ooo=
github.com/livepeer/catalyst-api v0.1.2-0.20230925142340-c311569665b4 h1:UfiMdEDGa88yqYD9+i1+ldAex9Kf1+3jbq+wBrmZccM=
github.com/livepeer/catalyst-api v0.1.2-0.20230925142340-c311569665b4/go.mod h1:Ybiub5AGDrDfvyh1MWdIa551LAwhx/6lSpbQlgb1W1Q=
github.com/livepeer/go-api-client v0.4.19-0.20240311145302-1abd53df256c h1:KPGkwuKvAbHCADy3hssTCfJVh0wxYMlXVTehEikljCc=
github.com/livepeer/go-api-client v0.4.19-0.20240311145302-1abd53df256c/go.mod h1:Jdb+RI7JyzEZOHd1GUuKofwFDKMO/btTa80SdpUpYQw=
github.com/livepeer/go-api-client v0.4.23-0.20240522195759-00d172d35bbb h1:ddTY+V26KtCyGgJZTd51gWbU1GvoDaGnD4ksNzZw14M=
github.com/livepeer/go-api-client v0.4.23-0.20240522195759-00d172d35bbb/go.mod h1:Jdb+RI7JyzEZOHd1GUuKofwFDKMO/btTa80SdpUpYQw=
github.com/livepeer/go-api-client v0.4.24-0.20260224172655-8553bc86db26 h1:X90oDq7jngHQGEvCC2uGYGoBk3SFZ3cqYW1gK50p4j8=
github.com/livepeer/go-api-client v0.4.24-0.20260224172655-8553bc86db26/go.mod h1:Jdb+RI7JyzEZOHd1GUuKofwFDKMO/btTa80SdpUpYQw=
github.com/livepeer/go-tools v0.3.2 h1:5pOUrOmkkGbbcWnpCt2yrSD6cD85G4GcpO4B25NpMJM=
github.com/livepeer/go-tools v0.3.2/go.mod h1:qs31y68b3PQPmSr8nR8l5WQiIWI623z6pqOccqebjos=
github.com/livepeer/livepeer-data v0.7.5-0.20230927031152-b938ac1dc665 h1:EXlI922Fsv9lyIw1LQ7pZN6slCuYya8NQrCFWN8INg4=
Expand Down
3 changes: 3 additions & 0 deletions task/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ type handleUploadVODParams struct {
catalystPipelineStrategy pipeline.Strategy
clipStrategy clients.ClipStrategy
c2pa bool
reencode bool
}

func handleUploadVOD(p handleUploadVODParams) (*TaskHandlerOutput, error) {
Expand Down Expand Up @@ -104,6 +105,7 @@ func handleUploadVOD(p handleUploadVODParams) (*TaskHandlerOutput, error) {
TargetSegmentSizeSecs: p.targetSegmentSizeSecs,
Encryption: encryption,
C2PA: p.c2pa,
Reencode: p.reencode,
}

if p.profiles != nil {
Expand Down Expand Up @@ -261,6 +263,7 @@ func TaskTranscodeFile(tctx *TaskContext) (*TaskHandlerOutput, error) {
targetSegmentSizeSecs: params.TargetSegmentSizeSecs,
profiles: params.Profiles,
c2pa: params.C2PA,
reencode: params.Reencode,
})
}

Expand Down
Loading