Skip to content

Commit

Permalink
Merge branch 'main' into renovate/go-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 authored Sep 9, 2024
2 parents 4f22157 + 674c172 commit decdbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/pipeline/sink/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type imageUpdate struct {
}

func newImageSink(u uploader.Uploader, p *config.PipelineConfig, o *config.ImageConfig, callbacks *gstreamer.Callbacks) (*ImageSink, error) {
maxPendingUploads := 900 / o.CaptureInterval
return &ImageSink{
Uploader: u,
ImageConfig: o,
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipeline/sink/segments.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
)

const (
maxPendingUploads = 100
defaultLivePlaylistWindow = 5
)

Expand Down Expand Up @@ -91,6 +90,7 @@ func newSegmentSink(u uploader.Uploader, p *config.PipelineConfig, o *config.Seg
outputType = types.OutputTypeTS
}

maxPendingUploads := 900 / o.SegmentDuration
s := &SegmentSink{
Uploader: u,
SegmentConfig: o,
Expand Down

0 comments on commit decdbd6

Please sign in to comment.