mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Server must close the VTP connection also if filter stream is broken
Otherwise, if a client which is not livestreaming (e.g. watching a recording) doesn't properly shutdown the port 2004 connection, the filter stream remains open until TCP keepalive takes care of it. In the meantime, the log will show ringbuffer overflows.
This commit is contained in:
parent
f6299b4584
commit
f73665a0bd
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- server must close the VTP connection also if filter stream is broken
|
||||||
- fixed missing #ifdefs for new NumProvidedSystems setup option
|
- fixed missing #ifdefs for new NumProvidedSystems setup option
|
||||||
- new externremux.sh mencoder config options: audio pid by language code
|
- new externremux.sh mencoder config options: audio pid by language code
|
||||||
(-alang) and verbosity (-msglevel) (thanks to Pekko Tiitto)
|
(-alang) and verbosity (-msglevel) (thanks to Pekko Tiitto)
|
||||||
|
@ -772,9 +772,10 @@ cConnectionVTP::~cConnectionVTP()
|
|||||||
delete m_RecPlayer;
|
delete m_RecPlayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool cConnectionVTP::Abort(void) const
|
bool cConnectionVTP::Abort(void) const
|
||||||
{
|
{
|
||||||
return m_LiveStreamer && m_LiveStreamer->Abort();
|
return (m_LiveStreamer && m_LiveStreamer->Abort()) ||
|
||||||
|
(m_FilterStreamer && m_FilterStreamer->Abort());
|
||||||
}
|
}
|
||||||
|
|
||||||
void cConnectionVTP::Welcome(void)
|
void cConnectionVTP::Welcome(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user