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:
parent
35c0f25c38
commit
c7f4b265d5
1
HISTORY
1
HISTORY
@ -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.
|
||||
|
2
tuner.c
2
tuner.c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user