Skip to content

Commit

Permalink
increase gop size
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jan 2, 2025
1 parent 9f2ec91 commit 1004731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machinery/src/components/Kerberos.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func RunAgent(configDirectory string, configuration *models.Configuration, commu
if subStreamEnabled && rtspSubClient != nil {
subQueue = packets.NewQueue()
communication.SubQueue = subQueue
subQueue.SetMaxGopCount(1) // GOP time frame is set to prerecording (we'll add 2 gops to leave some room).
subQueue.SetMaxGopCount(3) // GOP time frame is set to prerecording (we'll add 2 gops to leave some room).
subQueue.WriteHeader(videoSubStreams)
go rtspSubClient.Start(context.Background(), "sub", subQueue, configuration, communication)

Expand Down

0 comments on commit 1004731

Please sign in to comment.