Fix for HLS URLs when only one track is available.
This commit is contained in:
parent
507eb80707
commit
875e8ef317
2 changed files with 18 additions and 12 deletions
|
@ -52,11 +52,11 @@ namespace Controller {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (URL.substr(0, 4) == "push"){
|
||||
if (URL.substr(0, 1) != "/"){
|
||||
//push-style stream
|
||||
if (hasViewers(name)){
|
||||
data["meta"].null();
|
||||
IPC::sharedPage streamIndex(name,0,false,false);
|
||||
IPC::sharedPage streamIndex(name,8 * 1024 * 1024,false,false);
|
||||
if (!streamIndex.mapped){
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue