Skip to content

Commit

Permalink
Handle Out-of-Range responses as a normal operation.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofafor committed Sep 9, 2016
1 parent 7a84ba7 commit 9c91e01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c91e01

Please sign in to comment.