diff --git a/doc/MediaSigning.xml b/doc/MediaSigning.xml index 676bfc52..5f7ae48b 100644 --- a/doc/MediaSigning.xml +++ b/doc/MediaSigning.xml @@ -58,12 +58,6 @@ signing feature, and also how an ONVIF client should validate the authenticity of a signed stream. Audio is outside of scope. - - Specification version v1.0 - This number should be updated when an update to the specification breaks the bitstream - format or when new features are added. Such features could be new ways of hashing or support - of more codecs. - Normative references ITU-T Recommendation, H.264: Advanced video coding for generic audiovisual services @@ -914,7 +908,7 @@ Tag version (1 byte) - Version = 1 + Version = 2 Specification version (3 byte) @@ -933,9 +927,18 @@ The UTC (8 bytes) based time represented by the number of 100-nanosecond intervals - since January 1, 1601 of the I-frame leading the GOP. - The timestamp value is a 64 bit parameter and the 8 bytes should be written with + since January 1, 1601 of the frame leading the (partial) GOP. + The start timestamp value is a 64 bit parameter and the 8 bytes should be written with + little endian. + + + Only present from tag version 2. + The UTC (8 bytes) based time represented by the number of 100-nanosecond intervals + since January 1, 1601 of the frame leading the upcoming (partial) GOP. + The end timestamp value is a 64 bit parameter and the 8 bytes should be written with little endian. + The duration of the signed (partial) GOP can now be calculated as duration = + "end timestamp" - "start timestamp". Note that the end timestamp is exclusive. GOP counter (4 bytes)