fix(rdpsnd): reply to TrainingPdu

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2025-04-08 15:10:41 +04:00 committed by Benoît Cortier
parent abcc42e01f
commit 5dcc526f51

View file

@ -193,6 +193,7 @@ impl SvcProcessor for Rdpsnd {
pdu::ServerAudioOutputPdu::Close => {
self.handler.close();
}
pdu::ServerAudioOutputPdu::Training(pdu) => return Ok(self.training_confirm(&pdu)?.into()),
_ => {
error!("Invalid PDU");
self.state = RdpsndState::Stop;