From f65dca291074cc58d81ef22ef671531b976c9a49 Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Fri, 9 Sep 2016 19:59:12 +0300 Subject: [PATCH] Handle Out-of-Range responses as a normal operation. --- rtsp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtsp.c b/rtsp.c index 3d1319e..0cbc460 100644 --- a/rtsp.c +++ b/rtsp.c @@ -419,10 +419,12 @@ bool cSatipRtsp::ValidateLatestResponse(long *rcP) // SETUP PLAY TEARDOWN // The message body of the response may contain the "Out-of-Range:" parameter followed // by a space-separated list of the attribute names that are not understood: - // "src" "fe" "freq" "pol" "msys" "mtype" "plts" "ro" "sr" "fec" "pids" "addpids" "delpids" "mcast + // "src" "fe" "freq" "pol" "msys" "mtype" "plts" "ro" "sr" "fec" "pids" "addpids" "delpids" "mcast" if (!isempty(*errorOutOfRangeM)) { SATIP_CURL_EASY_GETINFO(handleM, CURLINFO_EFFECTIVE_URL, &url); error("Out of range: %s (error code %ld: %s) [device %d]", *errorOutOfRangeM, rc, url, tunerM.GetId()); + // Reseting the connection wouldn't help anything due to invalid channel configuration, so let it be successful + result = true; break; } case 503: