Milestone 5: deliver embedded RDP sessions and lifecycle hardening
This commit is contained in:
26
third_party/FreeRDP/channels/rdpsnd/common/CMakeLists.txt
vendored
Normal file
26
third_party/FreeRDP/channels/rdpsnd/common/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
# FreeRDP: A Remote Desktop Protocol Implementation
|
||||
# FreeRDP cmake build script
|
||||
#
|
||||
# Copyright 2018 Armin Novak <armin.novak@thincast.com>
|
||||
# Copyright 2018 Thincast Technologies GmbH
|
||||
#
|
||||
# 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.
|
||||
|
||||
set(SRCS rdpsnd_common.h rdpsnd_common.c)
|
||||
|
||||
# Library currently header only
|
||||
add_library(rdpsnd-common STATIC ${SRCS})
|
||||
set_property(TARGET rdpsnd-common PROPERTY FOLDER "Channels/${CHANNEL_NAME}/Common")
|
||||
|
||||
freerdp_client_pc_add_library_private(rdpsnd-common)
|
||||
channel_install(rdpsnd-common ${FREERDP_ADDIN_PATH} "FreeRDPTargets")
|
||||
21
third_party/FreeRDP/channels/rdpsnd/common/rdpsnd_common.c
vendored
Normal file
21
third_party/FreeRDP/channels/rdpsnd/common/rdpsnd_common.c
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
||||
* Server Audio Virtual Channel
|
||||
*
|
||||
* Copyright 2018 Armin Novak <armin.novak@thincast.com>
|
||||
* Copyright 2018 Thincast Technologies GmbH
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include "rdpsnd_common.h"
|
||||
43
third_party/FreeRDP/channels/rdpsnd/common/rdpsnd_common.h
vendored
Normal file
43
third_party/FreeRDP/channels/rdpsnd/common/rdpsnd_common.h
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
||||
* Server Audio Virtual Channel
|
||||
*
|
||||
* Copyright 2018 Armin Novak <armin.novak@thincast.com>
|
||||
* Copyright 2018 Thincast Technologies GmbH
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef FREERDP_CHANNEL_RDPSND_COMMON_MAIN_H
|
||||
#define FREERDP_CHANNEL_RDPSND_COMMON_MAIN_H
|
||||
|
||||
#include <winpr/crt.h>
|
||||
#include <winpr/synch.h>
|
||||
#include <winpr/thread.h>
|
||||
|
||||
#include <freerdp/codec/dsp.h>
|
||||
#include <freerdp/channels/wtsvc.h>
|
||||
#include <freerdp/channels/log.h>
|
||||
#include <freerdp/server/rdpsnd.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
CHANNEL_VERSION_WIN_XP = 0x02,
|
||||
CHANNEL_VERSION_WIN_XP_SP1 = 0x05,
|
||||
CHANNEL_VERSION_WIN_VISTA = 0x05,
|
||||
CHANNEL_VERSION_WIN_7 = 0x06,
|
||||
CHANNEL_VERSION_WIN_8 = 0x08,
|
||||
CHANNEL_VERSION_WIN_MAX = CHANNEL_VERSION_WIN_8
|
||||
} RdpSndChannelVersion;
|
||||
|
||||
#endif /* FREERDP_CHANNEL_RDPSND_COMMON_MAIN_H */
|
||||
Reference in New Issue
Block a user