Return non-fatal error if no stream keys are set
This commit is contained in:
parent
842bdcc808
commit
269604ec75
@ -578,8 +578,8 @@ func GetVideoCodec() string {
|
|||||||
|
|
||||||
// VerifySettings will perform a sanity check for specific settings values.
|
// VerifySettings will perform a sanity check for specific settings values.
|
||||||
func VerifySettings() error {
|
func VerifySettings() error {
|
||||||
if len(GetStreamKeys()) == 0 {
|
if len(GetStreamKeys()) == 0 && config.TemporaryStreamKey == "" {
|
||||||
return errors.New("no stream key set. Please set one via the admin or command line arguments")
|
log.Errorln("No stream key set. Streaming is disabled. Please set one via the admin or command line arguments")
|
||||||
}
|
}
|
||||||
|
|
||||||
if GetAdminPassword() == "" {
|
if GetAdminPassword() == "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user