GeometryMappingId ... VideoSubtypeId (16 bytes) ... ... cbExtra pExtraData (variable) ... ... Header (8 bytes): TSMM_VIDEO_PACKET_HEADER defined in section . A - PresentationId (1 byte): UINT8 ( section 2.2.47). A number that uniquely identifies the video stream on the server. The server MUST ensure that presentation IDs are unique across all active presentations. Version (1 byte): UINT8. The current version of the Remote Desktop Protocol: Video Optimized Remoting Virtual Channel Extension. In RDP8, this MUST be set to 0x01. This field is used for diagnostic purposes only. Protocol version is enforced with the virtual channel name. Command (1 byte): UINT8. A number that identifies which operation the client is to perform. The following values are supported: 0x01 Start Presentation – 0x02 Stop Presentation – If the command is to stop the presentation, only the Header, PresentationId, Version, and Command fields are valid. FrameRate (1 byte): UINT8. This field is reserved and MUST be ignored. AverageBitrateKbps (2 bytes): UINT16 ([MS-DTYP] section 2.2.48). This field is reserved and MUST be ignored. Reserved (2 bytes): UINT16. This field is reserved and MUST be ignored. SourceWidth (4 bytes): UINT32 ([MS-DTYP] section 2.2.49). This is the width of the video stream after scaling back to the original resolution. SourceHeight (4 bytes): UINT32. This is the height of the video stream after scaling back to the original resolution. ScaledWidth (4 bytes): UINT32. This is the width of the video stream. The maximum value of scaled width is 1920. ScaledHeight (4 bytes): UINT32. This is the height of the video stream. The maximum value of scaled height is 1080.
GeometryMappingId ... VideoSubtypeId (16 bytes) ... ... cbExtra pExtraData (variable) ... ... Header (8 bytes): TSMM_VIDEO_PACKET_HEADER defined in section . A - PresentationId (1 byte): UINT8 ( section 2.2.47). A number that uniquely identifies the video stream on the server. The server MUST ensure that presentation IDs are unique across all active presentations. Version (1 byte): UINT8. The current version of the Remote Desktop Protocol: Video Optimized Remoting Virtual Channel Extension. In RDP8, this MUST be set to 0x01. This field is used for diagnostic purposes only. Protocol version is enforced with the virtual channel name. Command (1 byte): UINT8. A number that identifies which operation the client is to perform. The following values are supported: 0x01 – Start Presentation 0x02 – Stop Presentation If the command is to stop the presentation, only the Header, PresentationId, Version, and Command fields are valid. FrameRate (1 byte): UINT8. This field is reserved and MUST be ignored. AverageBitrateKbps (2 bytes): UINT16 ([MS-DTYP] section 2.2.48). This field is reserved and MUST be ignored. Reserved (2 bytes): UINT16. This field is reserved and MUST be ignored. SourceWidth (4 bytes): UINT32 ([MS-DTYP] section 2.2.49). This is the width of the video stream after scaling back to the original resolution. SourceHeight (4 bytes): UINT32. This is the height of the video stream after scaling back to the original resolution. ScaledWidth (4 bytes): UINT32. This is the width of the video stream. The maximum value of scaled width is 1920. ScaledHeight (4 bytes): UINT32. This is the height of the video stream. The maximum value of scaled height is 1080.