Method | Description | |
---|---|---|
ExpectClientNotification ( byte presentationId, NotificationTypeValues notificationType ) : void |
Method to expect a TSMM_CLIENT_NOTIFICATION from client.
|
|
ExpectPresentationiResponse ( byte presentationId ) : void |
Method to expect a TSMM_PRESENTATION_RESPONSE from client.
|
|
Initialize ( ITestSite testSite ) : void | ||
ProtocolInitialize ( |
Initialize this protocol with create control and data channels.
|
|
Reset ( ) : void | ||
SendPresentationRequest ( byte presentationId, CommandValues command, uint srcWidth, uint srcHeight, uint scaledWidth, uint scaledHeight, ulong geometryId, VideoSubtype videoType, byte extraData ) : void |
Method to send a TSMM_PRESENTATION_REQUEST to client.
|
|
SendVideoPacket ( byte presentationId, TsmmVideoData_FlagsValues flags, ushort packetIndex, ushort totalPacketsInSample, uint SampleNumber, byte packetData, ulong timeStamp, bool isCompressed = false ) : void | ||
SendVideoSample ( byte presentationId, bool isKeyFrame, uint SampleNumber, byte sampleData, ulong timeStamp, bool isCompressed = false ) : void |
Method to sent a sample to client.
|
|
SetTestType ( RdpevorNegativeType negType ) : void |
Set the test type to positive or negative test types.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
public ExpectClientNotification ( byte presentationId, NotificationTypeValues notificationType ) : void | ||
presentationId | byte | The expected presentation Id. |
notificationType | NotificationTypeValues | The expected notification type |
return | void |
public ExpectPresentationiResponse ( byte presentationId ) : void | ||
presentationId | byte | The expected presentation Id. |
return | void |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | |
return | void |
public ProtocolInitialize ( |
||
rdpedycServer | RDPEDYC Server instance | |
transportType | DynamicVC_TransportType | selected transport type for created channels |
return | bool |
public SendPresentationRequest ( byte presentationId, CommandValues command, uint srcWidth, uint srcHeight, uint scaledWidth, uint scaledHeight, ulong geometryId, VideoSubtype videoType, byte extraData ) : void | ||
presentationId | byte | A number that uniquely identifies the video stream on the server. |
command | CommandValues | A number that identifies which operation the client is to perform. |
srcWidth | uint | This is the width of the video stream after scaling back to the original resolution. |
srcHeight | uint | This is the height of the video stream after scaling back to the original resolution. |
scaledWidth | uint | This is the width of the video stream. |
scaledHeight | uint | This is the height of the video stream. |
geometryId | ulong | This field is used to correlate this video data with its geometry. |
videoType | VideoSubtype | This field identifies the Media Foundation video subtype of the video stream. |
extraData | byte | |
return | void |
public SendVideoPacket ( byte presentationId, TsmmVideoData_FlagsValues flags, ushort packetIndex, ushort totalPacketsInSample, uint SampleNumber, byte packetData, ulong timeStamp, bool isCompressed = false ) : void | ||
presentationId | byte | |
flags | TsmmVideoData_FlagsValues | |
packetIndex | ushort | |
totalPacketsInSample | ushort | |
SampleNumber | uint | |
packetData | byte | |
timeStamp | ulong | |
isCompressed | bool | |
return | void |
public SendVideoSample ( byte presentationId, bool isKeyFrame, uint SampleNumber, byte sampleData, ulong timeStamp, bool isCompressed = false ) : void | ||
presentationId | byte | This is the same number as the PresentationId field in the TSMM_PRESENTATION_REQUEST message. |
isKeyFrame | bool | Is the sample a key frame. |
SampleNumber | uint | The number of sample in the video stream. |
sampleData | byte | |
timeStamp | ulong | |
isCompressed | bool | Whether the packet will be compressed before sent. |
return | void |
public SetTestType ( RdpevorNegativeType negType ) : void | ||
negType | RdpevorNegativeType | The type of current test. None means positive test, others are negative tests. |
return | void |