oxfplayer
oxfplayer copied to clipboard
SurveillanceExportBox version=1 SurveillanceEntry TrackID id type
According to specification (ONVIF-ExportFileFormat-Spec.pdf) TrackID of SurveillanceEntry in SurveillanceExportBox should be of type UInt(16).
class SurveillanceExportBox
extends FullBox(‘suep’, version = 1, 0){
string ExportUnitName;
string ExportUnitURL;
string ExportUnitMAC;
UInt(64) ExportUnitTime;
string ExportOperator;
UInt(32) entry_count;
int i;
for (i=0; i < entry_count; i++) {
UInt(16) TrackID;
string SourceName;
string SourceURL;
string SourceMAC;
string SourceLine;
}
}
In code referred bellow it seems to be declared and parsed as uint32_t: https://github.com/onvif/oxfplayer/blob/540261d4033a96e22bf39d68340c1259230dff1a/player/src/parser/surveillanceExportBox.hpp#L35