Skip to content

Commit

Permalink
Immediately data from raspivid/libcamera
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin committed Sep 30, 2022
1 parent 80003a2 commit 9c9a3f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stream/streaming.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func startCamera(options CameraOptions, writer io.Writer, stop <-chan struct{},
"--inline", // H264: Force PPS/SPS header with every I frame
"-t", "0", // Disable timeout
"-o", "-", // Output to stdout
"--flush", // Flush output files immediately
"--width", strconv.Itoa(options.Width),
"--height", strconv.Itoa(options.Height),
"--framerate", strconv.Itoa(options.Fps),
Expand Down

0 comments on commit 9c9a3f7

Please sign in to comment.