diff options
Diffstat (limited to 'server/connectionIGMP.c')
-rw-r--r-- | server/connectionIGMP.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/server/connectionIGMP.c b/server/connectionIGMP.c index 53b9acf..328fe44 100644 --- a/server/connectionIGMP.c +++ b/server/connectionIGMP.c @@ -64,10 +64,15 @@ void cConnectionIGMP::Welcome() esyslog("streamdev-server IGMP: GetDevice failed"); } -void cConnectionIGMP::Stop() +bool cConnectionIGMP::Close() { - if (m_LiveStreamer) { + if (m_LiveStreamer) m_LiveStreamer->Stop(); - DELETENULL(m_LiveStreamer); - } + return cServerConnection::Close(); +} + +cString cConnectionIGMP::ToText() const +{ + cString str = cServerConnection::ToText(); + return m_LiveStreamer ? cString::sprintf("%s\t%s", *str, *m_LiveStreamer->ToText()) : str; } |