diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:15:25 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:15:25 +0100 |
commit | bbaf3aa12cff7791f87a1775ad0dc2d2729903d1 (patch) | |
tree | 027b1831a2faa47fdf28a189af2964a6544b883d | |
parent | d29fecc0a688f0f328fa44b5df6389f39ee2f8ed (diff) | |
download | vdr-plugin-streamdev-bbaf3aa12cff7791f87a1775ad0dc2d2729903d1.tar.gz vdr-plugin-streamdev-bbaf3aa12cff7791f87a1775ad0dc2d2729903d1.tar.bz2 |
increased client side timeout for TUNE command
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | client/socket.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- increased client side timeout for TUNE command - more dsyslog messages to help troubleshouting channel switch issues - improved the channel switch code trying to move live TV to different card - make sure that a client doesn't interrupt replaying on server's FF card diff --git a/client/socket.c b/client/socket.c index 0e8974f..3e6dec8 100644 --- a/client/socket.c +++ b/client/socket.c @@ -249,7 +249,7 @@ bool cClientSocket::SetChannelDevice(const cChannel *Channel) { std::string command = (std::string)"TUNE " + (const char*)Channel->GetChannelID().ToString(); - if (!Command(command, 220)) { + if (!Command(command, 220, 10000)) { if (errno == 0) esyslog("ERROR: Streamdev: Couldn't tune %s:%d to channel %s", RemoteIp().c_str(), RemotePort(), Channel->Name()); |