Checksum and sync byte fixes.
This commit is contained in:
parent
5da3c24eae
commit
bb1c919948
2 changed files with 3 additions and 2 deletions
|
@ -226,6 +226,7 @@ namespace Mist {
|
|||
onFail();
|
||||
return;
|
||||
}
|
||||
stats();
|
||||
updateMeta();
|
||||
if (myMeta.live && !isReadyForPlay()){
|
||||
unsigned long long waitUntil = Util::epoch() + 15;
|
||||
|
@ -1140,7 +1141,7 @@ namespace Mist {
|
|||
if (!isInitialized){
|
||||
return;
|
||||
}
|
||||
EXTREME_MSG("Writing stats: %s, %s, %llu", getConnectedHost().c_str(), streamName.c_str(), crc);
|
||||
EXTREME_MSG("Writing stats: %s, %s, %lu", getConnectedHost().c_str(), streamName.c_str(), crc);
|
||||
if (statsPage.getData()){
|
||||
unsigned long long int now = Util::epoch();
|
||||
if (now != lastStats){
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace Mist {
|
|||
|
||||
IPC::sharedClient statsPage;///< Shared memory used for statistics reporting.
|
||||
bool isBlocking;///< If true, indicates that myConn is blocking.
|
||||
unsigned int crc;///< Checksum, if any, for usage in the stats.
|
||||
uint32_t crc;///< Checksum, if any, for usage in the stats.
|
||||
unsigned int getKeyForTime(long unsigned int trackId, long long timeStamp);
|
||||
|
||||
//stream delaying variables
|
||||
|
|
Loading…
Add table
Reference in a new issue