|
|
|
|
@ -57,7 +57,7 @@ var cli struct {
@@ -57,7 +57,7 @@ var cli struct {
|
|
|
|
|
// New allocates a core.
|
|
|
|
|
func New(args []string) (*Core, bool) { |
|
|
|
|
parser, err := kong.New(&cli, |
|
|
|
|
kong.Description("rtsp-simple-server "+version), |
|
|
|
|
kong.Description("rtsp-simple-server / MediaMTX "+version), |
|
|
|
|
kong.UsageOnError(), |
|
|
|
|
kong.ValueFormatter(func(value *kong.Value) string { |
|
|
|
|
switch value.Name { |
|
|
|
|
@ -203,7 +203,7 @@ func (p *Core) createResources(initial bool) error {
@@ -203,7 +203,7 @@ func (p *Core) createResources(initial bool) error {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if initial { |
|
|
|
|
p.Log(logger.Info, "rtsp-simple-server %s", version) |
|
|
|
|
p.Log(logger.Info, "rtsp-simple-server / MediaMTX %s", version) |
|
|
|
|
if !p.confFound { |
|
|
|
|
p.Log(logger.Warn, "configuration file not found, using an empty configuration") |
|
|
|
|
} |
|
|
|
|
|