1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00

Fixed the server teardown.

This commit is contained in:
Rolf Ahrenberg 2015-01-05 20:11:41 +02:00
parent 35c0f25c38
commit c7f4b265d5
2 changed files with 3 additions and 0 deletions

View File

@ -92,3 +92,4 @@ VDR Plugin 'satip' Revision History
2015-01-10: Version 1.0.1
- Updated the command-line help and README.
- Fixed the server teardown.

View File

@ -226,6 +226,8 @@ bool cSatipTuner::Disconnect(void)
if (!isempty(*streamAddrM) && (streamIdM >= 0)) {
cString uri = cString::sprintf("rtsp://%s/stream=%d", *streamAddrM, streamIdM);
rtspM.Teardown(*uri);
// some devices requires a teardown for TCP connection also
rtspM.Reset();
streamIdM = -1;
}