mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-17 20:24:38 +00:00
rpi: increase default camera bitrate to 5 Mbps (#3896)
This commit is contained in:
parent
6cd7487857
commit
1dd975504f
@ -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…
Reference in New Issue
Block a user