2.2 Message Syntax
Both the mouse position and shape packets use an RTP header as follows.
|
bit offset |
0-1 |
2 |
3 |
4-7 |
8 |
9-15 |
16-31 |
|---|---|---|---|---|---|---|---|
|
0 |
Version |
P |
X |
CC |
M |
PT |
Sequence Number |
|
32 |
Timestamp |
||||||
|
64 |
SSRC identifier |
||||||
We define a new ‘Microsoft cursor’ application profile. For this protocol extension, the following values are used in the RTP header.
|
Field Name (Size) |
Value |
|---|---|
|
Version (2 bits) |
2 |
|
P (1 bit) |
0 (No padding) |
|
X (1 bit) |
0 (No extension) |
|
CC (4 bits) |
0 (No CSRC) |
|
M (1 bit) |
0 (No marker used) |
|
PT (7 bits) |
0 (Mouse position/shape update payload for this profile) |
|
Sequence Number (16 bits) |
Incrementing sequence number starting at zero |
|
Timestamp (32 bits) |
0 (Not used) |
|
SSRC identifier (32 bits) |
0 (Not used) |
All network data is transmitted in network byte order.