Added basic stream fallback feature, allowing to redirect to a different stream name on stream source load errors

This commit is contained in:
Thulinma 2019-05-24 20:39:08 +02:00
parent 6e125707f1
commit 7beea43d31
4 changed files with 22 additions and 1 deletions

View file

@ -82,6 +82,11 @@ namespace Mist {
capa["optional"]["segmentsize"]["option"] = "--segment-size";
capa["optional"]["segmentsize"]["type"] = "uint";
capa["optional"]["segmentsize"]["default"] = 1900;
capa["optional"]["fallback_stream"]["name"] = "Fallback stream";
capa["optional"]["fallback_stream"]["help"] = "Alternative stream to load for playback when there is no active broadcast";
capa["optional"]["fallback_stream"]["type"] = "str";
capa["optional"]["fallback_stream"]["default"] = "";
option.null();
/*LTS-end*/