Skip to content

Implement playSound callback

Fabio Bas requested to merge ctrlaltca/krdc:bell into master

While connecting to some old Win2008 terminal server I noticed frequent disconnections with the following message:

[19:04:47:936] [31327:31382] [ERROR][com.freerdp.core.rdp] - DATA_PDU_TYPE_PLAY_SOUND - update_recv_play_sound() failed
[19:04:47:936] [31327:31382] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
[19:04:47:936] [31327:31382] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[19:04:48:091] [31327:31327] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]

This is related to a non-implemented callback for the "system bell" (XkbBell in X11 terms). This MR implements a basic version of the callback, avoiding the sudden disconnection

Merge request reports

Loading