Various and sundry fixes.
This commit is contained in:
parent
d66b407955
commit
7f1c2f28aa
10 changed files with 11 additions and 7 deletions
|
@ -47,9 +47,11 @@ void Controller::SharedMemStats(void * config){
|
|||
/// This function is called by parseStatistics.
|
||||
/// It updates the internally saved statistics data.
|
||||
void Controller::statStorage::update(IPC::statExchange & data) {
|
||||
if (streamName == ""){
|
||||
if (!streamName.size()){
|
||||
host = data.host();
|
||||
streamName = data.streamName();
|
||||
}
|
||||
if (!connector.size()){
|
||||
connector = data.connector();
|
||||
}
|
||||
statLog tmp;
|
||||
|
|
|
@ -343,7 +343,6 @@ namespace Mist {
|
|||
#endif
|
||||
|
||||
sought = false;
|
||||
capa.null();
|
||||
}
|
||||
|
||||
/// Clears the buffer, sets parseData to false, and generally makes not very much happen at all.
|
||||
|
|
|
@ -138,6 +138,7 @@ namespace Mist {
|
|||
|
||||
void OutHDS::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HDS";
|
||||
capa["desc"] = "Enables HTTP protocol Adobe-specific dynamic streaming (also known as HDS).";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/dynamic/$/manifest.f4m";
|
||||
|
|
|
@ -90,7 +90,7 @@ namespace Mist {
|
|||
|
||||
void OutHLS::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HTTP_Live";
|
||||
capa["name"] = "HLS";
|
||||
capa["desc"] = "Enables HTTP protocol Apple-specific streaming (also known as HLS).";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/hls/$/index.m3u8";
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace Mist {
|
|||
|
||||
void OutHSS::init(Util::Config * cfg) {
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HTTP_Smooth";
|
||||
capa["name"] = "HSS";
|
||||
capa["desc"] = "Enables HTTP protocol Microsoft-specific smooth streaming through silverlight (also known as HSS).";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/smooth/$.ism/Manifest";
|
||||
|
|
|
@ -14,6 +14,7 @@ namespace Mist {
|
|||
|
||||
void OutJSON::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "JSON";
|
||||
capa["desc"] = "Enables HTTP protocol JSON streaming.";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/$.json";
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Mist {
|
|||
|
||||
void OutProgressiveFLV::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HTTP_Progressive_FLV";
|
||||
capa["name"] = "FLV";
|
||||
capa["desc"] = "Enables HTTP protocol progressive streaming.";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/$.flv";
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Mist {
|
|||
|
||||
void OutProgressiveMP3::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HTTP_Progressive_MP3";
|
||||
capa["name"] = "MP3";
|
||||
capa["desc"] = "Enables HTTP protocol progressive streaming.";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/$.mp3";
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace Mist {
|
|||
|
||||
void OutProgressiveMP4::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "HTTP_Progressive_MP4";
|
||||
capa["name"] = "MP4";
|
||||
capa["desc"] = "Enables HTTP protocol progressive streaming.";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/$.mp4";
|
||||
|
|
|
@ -22,6 +22,7 @@ namespace Mist {
|
|||
|
||||
void OutProgressiveSRT::init(Util::Config * cfg){
|
||||
Output::init(cfg);
|
||||
capa["name"] = "SRT";
|
||||
capa["desc"] = "Enables HTTP protocol subtitle streaming.";
|
||||
capa["deps"] = "HTTP";
|
||||
capa["url_rel"] = "/$.srt";
|
||||
|
|
Loading…
Add table
Reference in a new issue