FreeRDP
|
#include <rdpecam.h>
FreeRDP: A Remote Desktop Protocol Implementation Video Capture Virtual Channel Extension
Copyright 2022 Pascal Nowack Pasca l.No wack@ gmx. de
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
psCameraDeviceServerActivateDeviceRequest CameraDeviceServerContext::ActivateDeviceRequest |
For the following server to client PDUs, the message header does not have to be set. Send a Activate Device Request PDU.
psCameraDeviceServerChannelHandle CameraDeviceServerContext::ChannelHandle |
Retrieve the channel handle for use in conjunction with Poll(). If externalThread=FALSE do not call.
psCameraDeviceServerChannelIdAssigned CameraDeviceServerContext::ChannelIdAssigned |
Callback, when the channel got its id assigned.
psCameraDeviceServerClose CameraDeviceServerContext::Close |
Close the camera device channel.
psCameraDeviceServerCurrentMediaTypeRequest CameraDeviceServerContext::CurrentMediaTypeRequest |
Send a Current Media Type Request PDU.
psCameraDeviceServerCurrentMediaTypeResponse CameraDeviceServerContext::CurrentMediaTypeResponse |
Callback for the Current Media Type Response PDU.
psCameraDeviceServerDeactivateDeviceRequest CameraDeviceServerContext::DeactivateDeviceRequest |
Send a Deactivate Device Request PDU.
psCameraDeviceServerErrorResponse CameraDeviceServerContext::ErrorResponse |
Callback for the Error Response PDU.
psCameraDeviceServerInitialize CameraDeviceServerContext::Initialize |
Optional: Set thread handling. When externalThread=TRUE, the application is responsible to call Poll() periodically to process channel events.
Defaults to externalThread=FALSE
psCameraDeviceServerMediaTypeListRequest CameraDeviceServerContext::MediaTypeListRequest |
Send a Media Type List Request PDU.
psCameraDeviceServerMediaTypeListResponse CameraDeviceServerContext::MediaTypeListResponse |
Callback for the Media Type List Response PDU.
psCameraDeviceServerOpen CameraDeviceServerContext::Open |
Open the camera device channel.
psCameraDeviceServerPoll CameraDeviceServerContext::Poll |
Poll When externalThread=TRUE, call Poll() periodically from your main loop. If externalThread=FALSE do not call.
psCameraDeviceServerPropertyListRequest CameraDeviceServerContext::PropertyListRequest |
Send a Property List Request PDU.
psCameraDeviceServerPropertyListResponse CameraDeviceServerContext::PropertyListResponse |
Callback for the Property List Response PDU.
psCameraDeviceServerPropertyValueRequest CameraDeviceServerContext::PropertyValueRequest |
Send a Property Value Request PDU.
psCameraDeviceServerPropertyValueResponse CameraDeviceServerContext::PropertyValueResponse |
Callback for the Property Value Response PDU.
BYTE CameraDeviceServerContext::protocolVersion |
Protocol version to be used. Every sent server to client PDU has the version value in the Header set to the following value.
rdpContext* CameraDeviceServerContext::rdpcontext |
psCameraDeviceServerSampleErrorResponse CameraDeviceServerContext::SampleErrorResponse |
Callback for the Sample Error Response PDU.
psCameraDeviceServerSampleRequest CameraDeviceServerContext::SampleRequest |
Send a Sample Request PDU.
psCameraDeviceServerSampleResponse CameraDeviceServerContext::SampleResponse |
Callback for the Sample Response PDU.
psCameraDeviceServerSetPropertyValueRequest CameraDeviceServerContext::SetPropertyValueRequest |
Send a Set Property Value Request PDU.
psCameraDeviceServerStartStreamsRequest CameraDeviceServerContext::StartStreamsRequest |
Send a Start Streams Request PDU.
psCameraDeviceServerStopStreamsRequest CameraDeviceServerContext::StopStreamsRequest |
Send a Stop Streams Request PDU.
psCameraDeviceServerStreamListRequest CameraDeviceServerContext::StreamListRequest |
Send a Stream List Request PDU.
psCameraDeviceServerStreamListResponse CameraDeviceServerContext::StreamListResponse |
Callback for the Stream List Response PDU.
psCameraDeviceServerSuccessResponse CameraDeviceServerContext::SuccessResponse |
Callback for the Success Response PDU.
void* CameraDeviceServerContext::userdata |
HANDLE CameraDeviceServerContext::vcm |
char* CameraDeviceServerContext::virtualChannelName |
Name of the virtual channel. Pointer owned by the CameraDeviceServerContext, meaning camera_device_server_context_free() takes care of freeing the pointer.
Server implementations should sanitize the virtual channel name for invalid names, like names for other known channels ("ECHO", "AUDIO_PLAYBACK_DVC", etc.)