Updated DTSC analyser in compact mode to be more accurate and detect possible HLS-related issues
# Conflicts: # src/analysers/dtsc_analyser.cpp
This commit is contained in:
parent
44e1bb9b33
commit
cf5045888e
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ namespace Analysers {
|
||||||
track["width"] = (long long)it->second.width;
|
track["width"] = (long long)it->second.width;
|
||||||
track["height"] = (long long)it->second.height;
|
track["height"] = (long long)it->second.height;
|
||||||
track["fpks"] = it->second.fpks;
|
track["fpks"] = it->second.fpks;
|
||||||
|
if (it->second.codec == "H264"){
|
||||||
|
h264::sequenceParameterSet sps;
|
||||||
|
sps.fromDTSCInit(it->second.init);
|
||||||
|
h264::SPSMeta spsData = sps.getCharacteristics();
|
||||||
|
track["h264"]["profile"] = spsData.profile;
|
||||||
|
track["h264"]["level"] = spsData.level;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
result[it->second.getWritableIdentifier()] = track;
|
result[it->second.getWritableIdentifier()] = track;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue