mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Handle Out-of-Range responses as a normal operation.
This commit is contained in:
parent
7a84ba78c8
commit
9c91e01a87
4
rtsp.c
4
rtsp.c
@ -419,10 +419,12 @@ bool cSatipRtsp::ValidateLatestResponse(long *rcP)
|
|||||||
// SETUP PLAY TEARDOWN
|
// SETUP PLAY TEARDOWN
|
||||||
// The message body of the response may contain the "Out-of-Range:" parameter followed
|
// 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:
|
// 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)) {
|
if (!isempty(*errorOutOfRangeM)) {
|
||||||
SATIP_CURL_EASY_GETINFO(handleM, CURLINFO_EFFECTIVE_URL, &url);
|
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());
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case 503:
|
case 503:
|
||||||
|
Loading…
Reference in New Issue
Block a user