mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-30 15:02:00 -08:00
rpi: increase default camera bitrate to 5 Mbps (#3896)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_highlevel (push) Has been cancelled
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_highlevel (push) Has been cancelled
This commit is contained in:
parent
6cd7487857
commit
1dd975504f
3 changed files with 3 additions and 3 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ func (pconf *Path) setDefaults() {
|
|||
pconf.RPICameraTextOverlay = "%Y-%m-%d %H:%M:%S - MediaMTX"
|
||||
pconf.RPICameraCodec = "auto"
|
||||
pconf.RPICameraIDRPeriod = 60
|
||||
pconf.RPICameraBitrate = 1000000
|
||||
pconf.RPICameraBitrate = 5000000
|
||||
pconf.RPICameraProfile = "main"
|
||||
pconf.RPICameraLevel = "4.1"
|
||||
|
||||
|
|
|
|||
|
|
@ -588,7 +588,7 @@ pathDefaults:
|
|||
# Period between IDR frames
|
||||
rpiCameraIDRPeriod: 60
|
||||
# Bitrate
|
||||
rpiCameraBitrate: 1000000
|
||||
rpiCameraBitrate: 5000000
|
||||
# H264 profile
|
||||
rpiCameraProfile: main
|
||||
# H264 level
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue