Skip to content

Commit

Permalink
rpi: increase default camera bitrate to 5 Mbps
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Oct 20, 2024
1 parent 6cd7487 commit c69d8ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/conf/conf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestConfFromFile(t *testing.T) {
RPICameraTextOverlay: "%Y-%m-%d %H:%M:%S - MediaMTX",
RPICameraCodec: "auto",
RPICameraIDRPeriod: 60,
RPICameraBitrate: 1000000,
RPICameraBitrate: 5000000,
RPICameraProfile: "main",
RPICameraLevel: "4.1",
RunOnDemandStartTimeout: 5 * StringDuration(time.Second),
Expand Down
2 changes: 1 addition & 1 deletion mediamtx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ pathDefaults:
# Period between IDR frames
rpiCameraIDRPeriod: 60
# Bitrate
rpiCameraBitrate: 1000000
rpiCameraBitrate: 5000000
# H264 profile
rpiCameraProfile: main
# H264 level
Expand Down

0 comments on commit c69d8ba

Please sign in to comment.