From 1eb06d8693486bf6e2ec0ce2674df7ce0ae98e9a Mon Sep 17 00:00:00 2001 From: fduncanh Date: Sat, 12 Mar 2022 01:15:19 -0500 Subject: [PATCH] corrections to Teardown sequence --- lib/raop.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/raop.c b/lib/raop.c index f870c75..ff82d1c 100644 --- a/lib/raop.c +++ b/lib/raop.c @@ -286,9 +286,14 @@ conn_request(void *ptr, http_request_t *request, http_response_t **response) { if (teardown_96) { if (conn->raop_rtp) { - /* Stop our RTP sessions */ + /* Stop our audio RTP session */ raop_rtp_stop(conn->raop_rtp); } + } else if (teardown_110) { + if (conn->raop_rtp_mirror) { + /* Stop our video RTP session */ + raop_rtp_mirror_stop(conn->raop_rtp_mirror); + } } else { /* Destroy our sessions */ if (conn->raop_rtp) {