20 #ifndef FREERDP_CHANNEL_VIDEO_H
21 #define FREERDP_CHANNEL_VIDEO_H
23 #include <winpr/wtypes.h>
24 #include <freerdp/types.h>
30 #define VIDEO_CHANNEL_NAME "video"
31 #define VIDEO_CONTROL_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::Video::Control::v08.01"
32 #define VIDEO_DATA_DVC_CHANNEL_NAME "Microsoft::Windows::RDS::Video::Data::v08.01"
42 TSMM_PACKET_TYPE_PRESENTATION_REQUEST = 1,
43 TSMM_PACKET_TYPE_PRESENTATION_RESPONSE = 2,
44 TSMM_PACKET_TYPE_CLIENT_NOTIFICATION = 3,
45 TSMM_PACKET_TYPE_VIDEO_DATA = 4
51 TSMM_START_PRESENTATION = 1,
52 TSMM_STOP_PRESENTATION = 2
62 UINT32 SourceWidth, SourceHeight;
63 UINT32 ScaledWidth, ScaledHeight;
64 UINT64 hnsTimestampOffset;
65 UINT64 GeometryMappingId;
66 BYTE VideoSubtypeId[16];
80 TSMM_VIDEO_DATA_FLAG_HAS_TIMESTAMPS = 0x01,
81 TSMM_VIDEO_DATA_FLAG_KEYFRAME = 0x02,
82 TSMM_VIDEO_DATA_FLAG_NEW_FRAMERATE = 0x04
93 UINT16 CurrentPacketIndex;
94 UINT16 PacketsInSample;
103 TSMM_CLIENT_NOTIFICATION_TYPE_NETWORK_ERROR = 1,
104 TSMM_CLIENT_NOTIFICATION_TYPE_FRAMERATE_OVERRIDE = 2
111 UINT32 DesiredFrameRate;
118 BYTE NotificationType;
struct used when NotificationType is FRAMERATE_OVERRIDE
a client to server notification struct
presentation request struct
response to a TSMM_PRESENTATION_REQUEST