|
static void | PresentationContext_unref (PresentationContext **presentation) |
|
static void | VideoClientContextPriv_free (VideoClientContextPriv *priv) |
|
static const char * | video_command_name (BYTE cmd) |
|
static void | video_client_context_set_geometry (VideoClientContext *video, GeometryClientContext *geometry) |
|
static VideoClientContextPriv * | VideoClientContextPriv_new (VideoClientContext *video) |
|
static BOOL | PresentationContext_ref (PresentationContext *presentation) |
|
static PresentationContext * | PresentationContext_new (VideoClientContext *video, BYTE PresentationId, UINT32 x, UINT32 y, UINT32 width, UINT32 height) |
|
static void | VideoFrame_free (VideoFrame **pframe) |
|
static VideoFrame * | VideoFrame_new (VideoClientContextPriv *priv, PresentationContext *presentation, MAPPED_GEOMETRY *geom) |
|
static UINT | video_control_send_presentation_response (VideoClientContext *context, TSMM_PRESENTATION_RESPONSE *resp) |
|
static BOOL | video_onMappedGeometryUpdate (MAPPED_GEOMETRY *geometry) |
|
static BOOL | video_onMappedGeometryClear (MAPPED_GEOMETRY *geometry) |
|
static UINT | video_PresentationRequest (VideoClientContext *video, const TSMM_PRESENTATION_REQUEST *req) |
|
static UINT | video_read_tsmm_presentation_req (VideoClientContext *context, wStream *s) |
|
static UINT | video_control_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *s) |
|
static UINT | video_control_send_client_notification (VideoClientContext *context, const TSMM_CLIENT_NOTIFICATION *notif) |
|
static void | video_timer (VideoClientContext *video, UINT64 now) |
|
static UINT | video_VideoData (VideoClientContext *context, const TSMM_VIDEO_DATA *data) |
|
static UINT | video_data_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *s) |
|
static UINT | video_control_on_close (IWTSVirtualChannelCallback *pChannelCallback) |
|
static UINT | video_data_on_close (IWTSVirtualChannelCallback *pChannelCallback) |
|
static UINT | video_control_on_new_channel_connection (IWTSListenerCallback *listenerCallback, IWTSVirtualChannel *channel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback) |
|
static UINT | video_data_on_new_channel_connection (IWTSListenerCallback *pListenerCallback, IWTSVirtualChannel *pChannel, BYTE *Data, BOOL *pbAccept, IWTSVirtualChannelCallback **ppCallback) |
|
static UINT | video_plugin_initialize (IWTSPlugin *plugin, IWTSVirtualChannelManager *channelMgr) |
|
static UINT | video_plugin_terminated (IWTSPlugin *pPlugin) |
|
| if (!videoPlugin) |
|
FreeRDP: A Remote Desktop Protocol Implementation Video Optimized Remoting Virtual Channel Extension
Copyright 2017 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.com
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.
static void video_timer |
( |
VideoClientContext * |
video, |
|
|
UINT64 |
now |
|
) |
| |
|
static |
some dropped frames, looks like we're asking too many frames per seconds, try lowering rate. We go directly from unlimited rate to 24 frames/seconds otherwise we lower rate by 2 frames by seconds
we treat all frames ok, so either ask the server to send more, or stay unlimited