Improved input descriptions

This commit is contained in:
Thulinma 2018-02-13 12:59:09 +01:00
parent 08a21c09c0
commit 017c9dbb65
16 changed files with 17 additions and 17 deletions

View file

@ -14,7 +14,7 @@ namespace Mist {
inputAV::inputAV(Util::Config * cfg) : Input(cfg) {
pFormatCtx = 0;
capa["name"] = "AV";
capa["decs"] = "Enables generic avformat/avcodec based input";
capa["desc"] = "This input uses libavformat to read any type of file. Unfortunately this input cannot be redistributed, but it is a great tool for testing the other file-based inputs against.";
capa["source_match"] = "/*";
capa["priority"] = 1ll;
capa["codecs"][0u][0u].null();

View file

@ -7,7 +7,7 @@
namespace Mist {
inputBalancer::inputBalancer(Util::Config * cfg) : Input(cfg) {
capa["name"] = "Balancer";
capa["desc"] = "Load balancer input, re-starts itself as the input a load balancer tells it it should be.";
capa["desc"] = "The load balancer input restarts itself as the input a load balancer tells it it should be. The syntax is in the form 'balance:http://HOST:PORT[?fallback=FALLBACK]', where HOST and PORT are the host and port of the load balancer and the FALLBACK is the full source URL that should be used if the load balancer cannot be reached.";
capa["source_match"] = "balance:*";
capa["priority"] = 9ll;
capa["morphic"] = 1ll;

View file

@ -73,7 +73,7 @@ namespace Mist {
option["arg"] = "integer";
option["long"] = "segment-size";
option["short"] = "S";
option["short"] = "S"
option["help"] = "Target time duration in milliseconds for segments";
option["value"].append(5000LL);
config->addOption("segmentsize", option);
@ -88,7 +88,7 @@ namespace Mist {
capa["source_match"] = "push://*";
capa["non-provider"] = true;//Indicates we don't provide data, only collect it
capa["priority"] = 9ll;
capa["desc"] = "Provides buffered live input";
capa["desc"] = "This input type is both used for push- and pull-based streams. It provides a buffer for live media data. The push://[host][@password] style source allows all enabled protocols that support push input to accept a push into MistServer, where you can accept incoming streams from everyone, based on a set password, and/or use hostname/IP whitelisting.";
capa["codecs"][0u][0u].append("*");
capa["codecs"][0u][1u].append("*");
capa["codecs"][0u][2u].append("*");

View file

@ -15,7 +15,7 @@
namespace Mist {
inputDTSC::inputDTSC(Util::Config * cfg) : Input(cfg) {
capa["name"] = "DTSC";
capa["desc"] = "Enables DTSC Input";
capa["desc"] = "Load DTSC files as Video on Demand sources, or dtsc:// URLs from other MistServer instances for live sources. This is the optimal method to pull live sources from other MistServer (or compatible) instances.";
capa["priority"] = 9ll;
capa["source_match"].append("/*.dtsc");
capa["source_match"].append("dtsc://*");

View file

@ -6,7 +6,7 @@
namespace Mist{
InputEBML::InputEBML(Util::Config *cfg) : Input(cfg){
capa["name"] = "EBML";
capa["desc"] = "Enables MKV and WebM input";
capa["desc"] = "Allows loading MKV, MKA, MK3D, MKS and WebM files for Video on Demand.";
capa["source_match"].append("/*.mkv");
capa["source_match"].append("/*.mka");
capa["source_match"].append("/*.mk3d");

View file

@ -17,7 +17,7 @@
namespace Mist {
inputFLV::inputFLV(Util::Config * cfg) : Input(cfg) {
capa["name"] = "FLV";
capa["desc"] = "Enables FLV Input";
capa["desc"] = "Allows loading FLV files for Video on Demand.";
capa["source_match"] = "/*.flv";
capa["priority"] = 9ll;
capa["codecs"][0u][0u].append("H264");

View file

@ -9,7 +9,7 @@
namespace Mist {
inputFolder::inputFolder(Util::Config * cfg) : Input(cfg) {
capa["name"] = "Folder";
capa["desc"] = "Folder input, re-starts itself as the appropriate input.";
capa["desc"] = "The folder input will make available all supported files in the given folder as streams under this stream name, in the format STREAMNAME+FILENAME. For example, if your stream is called 'files' and you have a file called 'movie.flv', you could access this file streamed as 'files+movie.flv'. This input does not support subdirectories. To support more complex libraries, look into the documentation for the STREAM_SOURCE trigger.";
capa["source_match"] = "/*/";
capa["priority"] = 9ll;
capa["morphic"] = 1ll;

View file

@ -5,7 +5,7 @@
namespace Mist{
InputH264::InputH264(Util::Config *cfg) : Input(cfg){
capa["name"] = "H264";
capa["desc"] = "H264 Annex B input";
capa["desc"] = "This input allows you to take raw H264 Annex B data over a standard input pipe, and turn it into a live stream.";
capa["source_match"] = "h264-exec:*";
//May be set to always-on mode
capa["always_match"].append("h264-exec:*");

View file

@ -333,7 +333,7 @@ namespace Mist{
currentPlaylist = 0;
capa["name"] = "HLS";
capa["decs"] = "Enables HLS Input";
capa["desc"] = "This input allows you to both play Video on Demand and live HLS streams stored on the filesystem, as well as pull live HLS streams over HTTP and HTTPS.";
capa["source_match"].append("/*.m3u8");
capa["source_match"].append("/*.m3u");
capa["source_match"].append("http://*.m3u8");

View file

@ -13,7 +13,7 @@
namespace Mist {
inputISMV::inputISMV(Util::Config * cfg) : Input(cfg) {
capa["name"] = "ISMV";
capa["decs"] = "Enables ISMV Input";
capa["desc"] = "This input allows you to stream ISMV Video on Demand files.";
capa["source_match"] = "/*.ismv";
capa["priority"] = 9ll;
capa["codecs"][0u][0u].append("H264");

View file

@ -15,7 +15,7 @@
namespace Mist {
inputMP3::inputMP3(Util::Config * cfg) : Input(cfg) {
capa["name"] = "MP3";
capa["desc"] = "Enables MP3 Input";
capa["desc"] = "This input allows you to stream MP3 Video on Demand files.";
capa["source_match"] = "/*.mp3";
capa["priority"] = 9ll;
capa["codecs"][0u][0u].append("MP3");

View file

@ -158,7 +158,7 @@ namespace Mist{
malSize = 4;//initialise data read buffer to 0;
data = (char*)malloc(malSize);
capa["name"] = "MP4";
capa["decs"] = "Enables MP4 Input";
capa["desc"] = "This input allows streaming of MP4 files as Video on Demand.";
capa["source_match"] = "/*.mp4";
capa["priority"] = 9ll;
capa["codecs"][0u][0u].append("HEVC");

View file

@ -46,7 +46,7 @@ namespace Mist {
*/
inputOGG::inputOGG(Util::Config * cfg) : Input(cfg){
capa["name"] = "OGG";
capa["desc"] = "Enables OGG input";
capa["desc"] = "This input allows streaming of OGG files as Video on Demand.";
capa["source_match"] = "/*.ogg";
capa["codecs"][0u][0u].append("theora");
capa["codecs"][0u][1u].append("vorbis");

View file

@ -27,7 +27,7 @@ namespace Mist{
seenSDP = false;
cSeq = 0;
capa["name"] = "RTSP";
capa["decs"] = "Allows pulling from live RTSP sources";
capa["desc"] = "This input allows pulling of live RTSP sources over either UDP or TCP.";
capa["source_match"].append("rtsp://*");
// These can/may be set to always-on mode
capa["always_match"].append("rtsp://*");

View file

@ -5,7 +5,7 @@ namespace Mist{
InputSrt::InputSrt(Util::Config *cfg) : Input(cfg){
vtt = false;
capa["name"] = "SRT";
capa["decs"] = "Enables SRT Input";
capa["decs"] = "This input allows streaming of SRT and WebVTT subtitle files as Video on Demand.";
capa["source_match"].append("/*.srt");
capa["source_match"].append("/*.vtt");
capa["priority"] = 9ll;

View file

@ -110,7 +110,7 @@ namespace Mist {
/// \arg cfg Util::Config that contains all current configurations.
inputTS::inputTS(Util::Config * cfg) : Input(cfg) {
capa["name"] = "TS";
capa["decs"] = "MPEG2-TS input from static files, streamed files, or multicast/unicast UDP socket";
capa["desc"] = "This input allows you to stream MPEG2-TS data from static files (/*.ts), streamed files or named pipes (stream://*.ts), streamed over HTTP (http://*.ts, http-ts://*), standard input (ts-exec:*), or multicast/unicast UDP sockets (tsudp://*).";
capa["source_match"].append("/*.ts");
capa["source_match"].append("stream://*.ts");
capa["source_match"].append("tsudp://*");