Commit Graph

14912 Commits

Author SHA1 Message Date
akallabeth
2045b86458 Use C style struct init 2022-06-30 14:13:05 +02:00
akallabeth
94b951382f Renamed server channel to rdpei 2022-06-30 14:13:05 +02:00
akallabeth
a59abddb12 Fix rdpecam server channel naming 2022-06-30 14:13:05 +02:00
akallabeth
2f5f79ca74 Fixed reserved symbol use in struct name 2022-06-30 14:13:05 +02:00
akallabeth
f5710c30d8 Used C style struct init 2022-06-30 14:13:05 +02:00
Pascal Nowack
6bd1d524c6 server: Add channel handling for camera device and enumerator channel 2022-06-30 14:13:05 +02:00
Pascal Nowack
5ae19bb4c3 telemetry/server: Fix copyright in license comment 2022-06-30 14:13:05 +02:00
Pascal Nowack
cbdab6cdb4 channels/server: Fix channel name in license comments 2022-06-30 14:13:05 +02:00
Pascal Nowack
82991117eb constants: Add missing OS major type constants 2022-06-29 16:32:00 +02:00
Pascal Nowack
1eead867db freerdp/constants: Conform osMinorType values to documentation
The OSMINORTYPE_NATIVE_WAYLAND value does not officially exist in
[MS-RDPBCGR].
Its value also is the one for Windows RT.

Fix this situation, by introducing the os minor type
OSMINORTYPE_WINDOWS_RT with its correct value and by choosing a
different value for OSMINORTYPE_NATIVE_WAYLAND, as that value does not
exist officially.
2022-06-29 16:32:00 +02:00
akallabeth
a4c86723a3 Unifiy string append functions
(cherry picked from commit f25261e271)
2022-06-29 14:42:22 +02:00
akallabeth
75bfec61f9 Removed duplicate defined symbols
stable has wnd.h defining this
2022-06-29 14:42:22 +02:00
akallabeth
b3a4b71717 Added RAIL compartmentinfo server to client message
(cherry picked from commit ad6dd99190)
2022-06-29 14:42:22 +02:00
akallabeth
758a00ed79 Updated flags required by [MS-RDPERP]
(cherry picked from commit fc949e4387)
2022-06-29 11:42:21 +02:00
akallabeth
bbdf949938 Added new rail orders textscaleinfo and caretblinkrate
(cherry picked from commit dfadfd3b76)
2022-06-29 11:42:21 +02:00
akallabeth
a92c7071ba Added rail_get_order_type_string_full for better debug logs
(cherry picked from commit 79ba632acb)
2022-06-29 09:32:40 +02:00
akallabeth
a282285584 Improved RAIL order debug messages
(cherry picked from commit 44e7531847)
2022-06-29 09:32:40 +02:00
Adrian Perez de Castro
436f212be3 Fix building with LibreSSL 2.7.0 or newer
With LibreSSL 2.7.0 (or newer versions) some more structs have made
opaque, which requires a few changes:

- BIO_meth_new() and related functions are now defined by LibreSSL, the
  versions from opensslcompat.{h,c} does not need to be used anymore.
- HMAC_CTX is now opaque, HMAC_CTX_new(), EVP_MD_CTX_new, and related
  functions should be used instead in winpr's hash.c.
2022-06-27 13:42:29 +02:00
akallabeth
e7851f067f Invert RDPGFX_CAPVERSION_106_ERR and RDPGFX_CAPVERSION_106 values
Define the actual value as RDPGFX_CAPVERSION_106 and the wrongly
documented one as RDPGFX_CAPVERSION_106_ERR

(cherry picked from commit a42017996a)
2022-06-09 14:03:31 +02:00
Richard Dymond
16676959f1 Update ChangeLog 2022-06-08 16:52:58 +02:00
Richard Dymond
a7664ea88a Add WTSChannelGetOptions 2022-06-08 16:52:58 +02:00
Pascal Nowack
19538c03e8 Update changelog 2022-06-08 16:19:31 +02:00
Pascal Nowack
3545728e5e channels/server: Add APIs for DVCs to get notified of channel id
This allows server implementations to watch these channel ids for their
creation statuses.
2022-06-08 16:19:31 +02:00
Pascal Nowack
b27efe5a62 audin/server: Do not overwrite values of the server audio formats
It just makes the usage of codecs impossible.
2022-06-08 16:19:31 +02:00
Pascal Nowack
d8ed0ff1b8 server: Add channel handling for telemetry channel 2022-06-08 16:19:31 +02:00
Pascal Nowack
fcf746419f server/rdpsnd: Add API to get notified of channel id 2022-06-08 16:19:31 +02:00
Pascal Nowack
6826d3626a core/server: Add APIs to get notified of DVC creation statuses
This allows server implementations to add handling for situations,
where the client side does not support them.
Particularly useful for the audio output channels (static channel as
fallback, when dynamic channel is not supported).
2022-06-08 16:19:31 +02:00
akallabeth
48f417127f Refactored rdpsnd server
* Assert all input arguments
* Unify stream buffer handling

(cherry picked from commit 33ec06083130e45a0b5db012ff2975da8798db00)
2022-06-03 09:07:42 +02:00
Pascal Nowack
4a8d2d6628 rdpsnd: Enhance server implementation
The current server sided channel handling of RDPSND/AUDIO_PLAYBACK_DVC
is currently very constrained.
So, solve this. This means:

- Add the missing Training/Training Confirm PDUs
- Stop overriding the average bytes per second values, when submitting
  the audio formats, as this currently makes the usage of codecs
  impossible
- Add a way to send the server formats manually again, to be able to
  restart the protocol after a Close PDU was sent
- Add a way to send already encoded audio data to let server
  implementations to take care of the encoding process and to set
  custom audio timestamps for the Video Optimized Remoting channel
- Add public attributes to let server implementations know the initial
  volume and pitch values
- Add public attribute to let server implementations know the quality
  mode setting

(cherry picked from commit 26488911be9ae8e00f77f075e03ddbe4dc70a402)
2022-06-03 09:07:42 +02:00
akallabeth
6ed2f7d1a3 Fixed format string for Stream_CheckAndLogRequiredLength
__LINE__ requires %d and not %PRIuz

(cherry picked from commit 74c1a006e9)
2022-06-03 09:07:42 +02:00
Richard Dymond
2f78a4cf9a Update ChangeLog 2022-06-03 08:06:53 +02:00
kubistika
601d01f7b4 core: server: add API to get peer accepted channel names
(cherry picked from commit 508ba9201f)
2022-06-03 08:06:53 +02:00
akallabeth
232333037d Fix return of getlogin()
(cherry picked from commit 1e779f92ec)
2022-06-02 14:11:52 +02:00
akallabeth
430a1ef7bd Removed recursive xf_lock_x11 warning
(cherry picked from commit 298d32164c)
2022-05-31 11:02:10 +02:00
akallabeth
dd5bf396b7 Fixed RDPGFX_CAPVERSION_106 according to errata
The [MS-RDPEGFX] spec is not really sure which value to use, so we
just announce both, the one from the spec and the one from errata.

(cherry picked from commit 8df9170b5d)
2022-05-25 13:34:40 +02:00
akallabeth
a2585fd446 Fixed missing WINAPI for callback function declarations
(cherry picked from commit 3aca661f0e)
2022-05-25 10:31:09 +02:00
Armin Novak
cf1b4b0603 Changelog 2022-05-24 10:24:56 +02:00
Armin Novak
e69ecadba5 Disable scaled output PDU if no scaling support compiled
(cherry picked from commit 7e526e8770)
2022-05-24 10:24:56 +02:00
Armin Novak
da274b6e96 Add GFX 10.7 capsets
(cherry picked from commit 9190472e36)
2022-05-24 10:24:56 +02:00
Armin Novak
715c80622b Updated RDPGFX_CAPSET_VERSION106 code to conform to spec
(cherry picked from commit 6ea15d36c4)
2022-05-24 10:24:56 +02:00
Pascal Nowack
f8a4c6a9fe
rdpsnd/client: Fix handling of WaveConfirm PDUs (#7910) (#7911)
Currently, all FreeRDP-based clients don't send any WaveConfirm PDUs
for received samples, when using a dynamic channel for audio output
redirection.
[MS-RDPEA] 2.2.3.8 Wave Confirm PDU mentions, that a WaveConfirm PDU
MUST be sent, when a WaveInfo PDU + Wave PDU, or Wave2 PDU is received
and when the audio data sample is emitted to completion by the client.
The first WaveConfirm PDU is used by the server to determine the
network latency and the second WaveConfirm PDU is used by the server to
determine the render latency.

So, fix the current behaviour, where FreeRDP currently does not send
any WaveConfirm PDU, when using the dynamic channel, or only sends one
WaveConfirm PDU for the sample.
For the first WaveConfirm PDU, use the same timestamp, that was
included in the first WaveInfo/Wave2 PDU.
For the second WaveConfirm PDU, add the render latency on top of the
arrival timestamp.
2022-05-18 10:04:00 +02:00
akallabeth
0220ccdf39 Updated gradle 2022-05-13 12:56:18 +02:00
akallabeth
51e39d34d3 Remove android version from freeRDPCore 2022-05-13 12:56:18 +02:00
akallabeth
7f35f29546 Fixed compilation warnings 2022-05-13 12:56:18 +02:00
akallabeth
c01c41436f Use clang to build openh264
(cherry picked from commit c3787a7b8a)
2022-05-13 12:56:18 +02:00
akallabeth
9437c4b4be changelog 2022-05-13 12:56:18 +02:00
Felix Deimel
ec901e1062 Fixed memory leak in audin mac
(cherry picked from commit 24c87c5126)
2022-05-13 12:56:18 +02:00
akallabeth
ad6dae15e3 Updated openh264 and openssl versions 2022-05-13 12:56:18 +02:00
akallabeth
003d307026 Made WITH_MEDIACODEC configurable, use newer openssl
(cherry picked from commit 0c7e5fdbfe)
2022-05-13 12:56:18 +02:00
akallabeth
f1efd1cacd Android auto version code
(cherry picked from commit 6b7e1679cc)
2022-05-13 12:56:18 +02:00