Skip to content

Commit 6ce5f8b

Browse files
Added more context about reserved bits on DVRIP message header
1 parent 635f2be commit 6ce5f8b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dissector/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ Header description of a single DVRIP/Sofia message is based on [Digital Video Re
3939
1. BIT 0 - message header byte, fixed as 0xFF.
4040
2. BIT 1 - observed to equalt 0 for requests and equal to 1 for responses from the IP camera.
4141
3. BIT 2 - reserved byte 1. Observed to be either 0 or 1.
42+
* When H.265 video codec is used (BIT4 = 0x12 on I-Frame header), this value is equal to 1.
43+
* When H.264 video codec is used (BIT4 = 0x02 on I-Frame header), this value is equal to 0.
4244
4. BIT 3 - reserved byte 2. Observed to be either 0 or 128.
45+
* When H.264 video codec is used, value of this BIT is equal to 128 on DVRIP messages containing audio frames.
46+
* Othervise, BIT3 value is equal to 0.
4347
5. BIT 4-7 - session ID. Assigned by the camera after successful login. Needs to be present in every subsequent message.
4448
6. BIT 8-11 - sequence number. Increments from 0 after startup, and after reaching the (unknown) maximum, starts from 0 again.
4549
7. BIT 12 - total number of packets in a single message. Value of 0 or 1 indicate a single message per packet.

0 commit comments

Comments
 (0)