Skip to content

Commit

Permalink
fix: add protocol whitelist to snapshot code
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleo committed Apr 20, 2020
1 parent 3dfcd7f commit b71740d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions camera/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ func generateSnapshotArguments(inputCfg InputConfiguration, width uint) []string
"vfr",
"-video_size",
fmt.Sprintf("%d:-2", width),
"-protocol_whitelist",
"file,udp,tcp,rtp",
"-f",
"image2pipe",
"-",
Expand Down

0 comments on commit b71740d

Please sign in to comment.