Added "deletestreamsource" call that deletes a stream AND the corresponding source file.
This commit is contained in:
parent
31403f2685
commit
7af419fdad
12 changed files with 146 additions and 10 deletions
|
@ -16,6 +16,7 @@ namespace Mist {
|
|||
capa["name"] = "AV";
|
||||
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["source_file"] = "$source";
|
||||
capa["priority"] = 1ll;
|
||||
capa["codecs"][0u][0u].null();
|
||||
capa["codecs"][0u][1u].null();
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace Mist {
|
|||
capa["priority"] = 9ll;
|
||||
capa["source_match"].append("/*.dtsc");
|
||||
capa["source_match"].append("dtsc://*");
|
||||
capa["source_file"] = "$source";
|
||||
capa["codecs"][0u][0u].append("H264");
|
||||
capa["codecs"][0u][0u].append("H263");
|
||||
capa["codecs"][0u][0u].append("VP6");
|
||||
|
|
|
@ -12,6 +12,7 @@ namespace Mist{
|
|||
capa["source_match"].append("/*.mk3d");
|
||||
capa["source_match"].append("/*.mks");
|
||||
capa["source_match"].append("/*.webm");
|
||||
capa["source_file"] = "$source";
|
||||
capa["priority"] = 9ll;
|
||||
capa["codecs"].append("H264");
|
||||
capa["codecs"].append("HEVC");
|
||||
|
|
|
@ -19,6 +19,7 @@ namespace Mist {
|
|||
capa["name"] = "FLV";
|
||||
capa["desc"] = "Allows loading FLV files for Video on Demand.";
|
||||
capa["source_match"] = "/*.flv";
|
||||
capa["source_file"] = "$source";
|
||||
capa["priority"] = 9ll;
|
||||
capa["codecs"][0u][0u].append("H264");
|
||||
capa["codecs"][0u][0u].append("H263");
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace Mist {
|
|||
capa["name"] = "Folder";
|
||||
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["source_file"] = "$source/$wildcard";
|
||||
capa["priority"] = 9ll;
|
||||
capa["morphic"] = 1ll;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ namespace Mist {
|
|||
capa["name"] = "MP3";
|
||||
capa["desc"] = "This input allows you to stream MP3 Video on Demand files.";
|
||||
capa["source_match"] = "/*.mp3";
|
||||
capa["source_file"] = "$source";
|
||||
capa["priority"] = 9ll;
|
||||
capa["codecs"][0u][0u].append("MP3");
|
||||
timestamp = 0;
|
||||
|
|
|
@ -160,6 +160,7 @@ namespace Mist{
|
|||
capa["name"] = "MP4";
|
||||
capa["desc"] = "This input allows streaming of MP4 files as Video on Demand.";
|
||||
capa["source_match"] = "/*.mp4";
|
||||
capa["source_file"] = "$source";
|
||||
capa["priority"] = 9ll;
|
||||
capa["codecs"][0u][0u].append("HEVC");
|
||||
capa["codecs"][0u][0u].append("H264");
|
||||
|
|
|
@ -48,6 +48,7 @@ namespace Mist {
|
|||
capa["name"] = "OGG";
|
||||
capa["desc"] = "This input allows streaming of OGG files as Video on Demand.";
|
||||
capa["source_match"] = "/*.ogg";
|
||||
capa["source_file"] = "$source";
|
||||
capa["codecs"][0u][0u].append("theora");
|
||||
capa["codecs"][0u][1u].append("vorbis");
|
||||
capa["codecs"][0u][1u].append("opus");
|
||||
|
|
|
@ -113,6 +113,7 @@ namespace Mist {
|
|||
capa["name"] = "TS";
|
||||
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_file"] = "$source";
|
||||
capa["source_match"].append("stream://*.ts");
|
||||
capa["source_match"].append("tsudp://*");
|
||||
capa["source_match"].append("ts-exec:*");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue