Skip to content

Commit 1004731

Browse files
committed
increase gop size
1 parent 9f2ec91 commit 1004731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machinery/src/components/Kerberos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func RunAgent(configDirectory string, configuration *models.Configuration, commu
236236
if subStreamEnabled && rtspSubClient != nil {
237237
subQueue = packets.NewQueue()
238238
communication.SubQueue = subQueue
239-
subQueue.SetMaxGopCount(1) // GOP time frame is set to prerecording (we'll add 2 gops to leave some room).
239+
subQueue.SetMaxGopCount(3) // GOP time frame is set to prerecording (we'll add 2 gops to leave some room).
240240
subQueue.WriteHeader(videoSubStreams)
241241
go rtspSubClient.Start(context.Background(), "sub", subQueue, configuration, communication)
242242

0 commit comments

Comments
 (0)