Added MistOutHTTPTS, also minor cleanup in output.cpp
This commit is contained in:
parent
435633180c
commit
fc5e86d7c2
4 changed files with 212 additions and 2 deletions
|
@ -68,7 +68,6 @@ namespace Mist {
|
|||
if (streamIndex.mapped){
|
||||
DTSC::Packet tmpMeta(streamIndex.mapped, streamIndex.len, true);
|
||||
if (tmpMeta.getVersion()){
|
||||
/// \todo Make sure this doesn't go wrong when overwritten by MistInBuffer during parse
|
||||
myMeta.reinit(tmpMeta);
|
||||
}
|
||||
}
|
||||
|
@ -232,7 +231,7 @@ namespace Mist {
|
|||
return;
|
||||
}
|
||||
isInitialized = true;
|
||||
streamIndex.init(streamName,8 * 1024 * 1024);
|
||||
streamIndex.init(streamName, 8 * 1024 * 1024);
|
||||
if (!streamIndex.mapped){
|
||||
DEBUG_MSG(DLVL_FAIL, "Could not connect to server for %s\n", streamName.c_str());
|
||||
onFail();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue