mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-10 04:11:59 -08:00
fix flag descriptions
This commit is contained in:
parent
52277cf7cb
commit
fb6b05fb60
2 changed files with 4 additions and 4 deletions
|
|
@ -82,8 +82,8 @@ Flags:
|
|||
--rtsp-port=8554 port of the RTSP TCP listener
|
||||
--rtp-port=8000 port of the RTP UDP listener
|
||||
--rtcp-port=8001 port of the RTCP UDP listener
|
||||
--read-timeout=5s timeout for read operations
|
||||
--write-timeout=5s timeout for write operations
|
||||
--read-timeout=5s timeout of read operations
|
||||
--write-timeout=5s timeout of write operations
|
||||
--publish-user="" optional username required to publish
|
||||
--publish-pass="" optional password required to publish
|
||||
--read-user="" optional username required to read
|
||||
|
|
|
|||
4
main.go
4
main.go
|
|
@ -72,8 +72,8 @@ func newProgram(sargs []string) (*program, error) {
|
|||
argRtspPort := kingpin.Flag("rtsp-port", "port of the RTSP TCP listener").Default("8554").Int()
|
||||
argRtpPort := kingpin.Flag("rtp-port", "port of the RTP UDP listener").Default("8000").Int()
|
||||
argRtcpPort := kingpin.Flag("rtcp-port", "port of the RTCP UDP listener").Default("8001").Int()
|
||||
argReadTimeout := kingpin.Flag("read-timeout", "timeout for read operations").Default("5s").Duration()
|
||||
argWriteTimeout := kingpin.Flag("write-timeout", "timeout for write operations").Default("5s").Duration()
|
||||
argReadTimeout := kingpin.Flag("read-timeout", "timeout of read operations").Default("5s").Duration()
|
||||
argWriteTimeout := kingpin.Flag("write-timeout", "timeout of write operations").Default("5s").Duration()
|
||||
argPublishUser := kingpin.Flag("publish-user", "optional username required to publish").Default("").String()
|
||||
argPublishPass := kingpin.Flag("publish-pass", "optional password required to publish").Default("").String()
|
||||
argReadUser := kingpin.Flag("read-user", "optional username required to read").Default("").String()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue