Commit Graph

14893 Commits

Author SHA1 Message Date
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
akallabeth
bd71070063 changelog 2022-05-12 15:17:41 +02:00
Felix Deimel
64bfc9e653 Fixed memory leaks in rdpsnd mac
(cherry picked from commit b0772fe2f0)
2022-05-12 15:17:41 +02:00
Armin Novak
017dca4848 Fixed deprecated mac symbol
(cherry picked from commit 951a83e295)
2022-05-12 15:17:41 +02:00
2fly2
b8be481a56 fix moving a window shrinks it 14x7 when connect to server 2019
Signed-off-by: 2fly2 <wjatchd@163.com>
(cherry picked from commit e1e2eef4e1)
2022-05-08 09:39:51 +02:00
Armin Novak
3b2cba58e5 Fixed broken USE_UNWIND check
(cherry picked from commit 63a221d845)
2022-05-05 13:05:21 +02:00
Armin Novak
1322566d7f Fixed IOS pthread_mutext_timedlock detection 2022-05-04 09:41:01 +02:00
Armin Novak
060e5adf1c Fixed IOS timer detection 2022-05-04 09:41:01 +02:00
Armin Novak
77d49ab038 Removed manual IOS sysroot settings, let the toolchain file take care 2022-05-04 09:41:01 +02:00
akallabeth
b4907dba08 Defined and use _write
(cherry picked from commit 9330559d24)
2022-05-04 09:41:01 +02:00
Armin Novak
7e4d328a38 Fixed argument mismatch
(cherry picked from commit 400fe6f796)
2022-05-04 09:41:01 +02:00
Armin Novak
bdf1990631 Fixed path of iOS toolchain file
(cherry picked from commit e53f0d781f)
2022-05-04 09:41:01 +02:00
Armin Novak
b29427fd87 Removed obsolete toolchain file 2022-05-04 09:41:01 +02:00
Armin Novak
7f73293145 Update iOS openssl build
(cherry picked from commit ad04153945)
2022-05-04 09:41:01 +02:00
Armin Novak
3e6545a2c2 Updated ios toolchain file with version from https://github.com/leetal/ios-cmake
(cherry picked from commit 0da860ad1f)
2022-05-04 09:41:01 +02:00
akallabeth
c5672a992a Unified neon source options
(cherry picked from commit bfdbe18029)
2022-05-04 09:41:01 +02:00
akallabeth
f1bf99f075 Only build RFX neon path with -DWITH_NEON=ON
(cherry picked from commit d18187c949)
2022-05-04 09:41:01 +02:00
akallabeth
f117ff13ad Updated changelog 2022-04-29 15:27:08 +02:00
akallabeth
50d045be97 Enable unwind.h and dladdr as default backtrace implementation
* config option USE_UNWIND to enable/disable

(cherry picked from commit 728d1c5892)
2022-04-29 15:27:08 +02:00
akallabeth
30680b6e7f default android to unwind
(cherry picked from commit 734f90692b)
2022-04-29 15:27:08 +02:00