Fixed support for VoD assets with a > 8MiB header size
This commit is contained in:
parent
6816b6074c
commit
7afd3415b3
2 changed files with 7 additions and 2 deletions
|
@ -1481,8 +1481,9 @@ namespace DTSC {
|
|||
if (type == "") {
|
||||
result << "metadata_" << trackID;
|
||||
return result.str();
|
||||
}else{
|
||||
result << type << "_";
|
||||
}
|
||||
result << type << "_";
|
||||
result << codec << "_";
|
||||
if (type == "audio") {
|
||||
result << channels << "ch_";
|
||||
|
|
|
@ -16,7 +16,11 @@ namespace Mist {
|
|||
//Open the page for the metadata
|
||||
char pageName[NAME_BUFFER_SIZE];
|
||||
snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str());
|
||||
nProxy.metaPages[0].init(pageName, DEFAULT_STRM_PAGE_SIZE, true);
|
||||
if (myMeta.live){
|
||||
nProxy.metaPages[0].init(pageName, DEFAULT_STRM_PAGE_SIZE, true);
|
||||
}else{
|
||||
nProxy.metaPages[0].init(pageName, myMeta.getSendLen(), true);
|
||||
}
|
||||
//Make sure we don't delete it on accident
|
||||
nProxy.metaPages[0].master = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue