Make controller no longer start buffers for VoD streams.
This commit is contained in:
parent
6798a3074a
commit
d6b4687ab2
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ void startStream(std::string name, JSON::Value & data){
|
||||||
Log("BUFF", "(re)starting stream buffer "+name+" for push data from "+pusher);
|
Log("BUFF", "(re)starting stream buffer "+name+" for push data from "+pusher);
|
||||||
}else{
|
}else{
|
||||||
if (URL.substr(0, 1) == "/"){
|
if (URL.substr(0, 1) == "/"){
|
||||||
|
return; //MistPlayer handles VoD
|
||||||
struct stat fileinfo;
|
struct stat fileinfo;
|
||||||
if (stat(URL.c_str(), &fileinfo) != 0 || S_ISDIR(fileinfo.st_mode)){
|
if (stat(URL.c_str(), &fileinfo) != 0 || S_ISDIR(fileinfo.st_mode)){
|
||||||
Log("BUFF", "*Not* starting stream "+name+"! File not found: "+URL);
|
Log("BUFF", "*Not* starting stream "+name+"! File not found: "+URL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue