increased client side timeout for TUNE command

This commit is contained in:
Frank Schmirler 2011-01-27 16:17:07 +01:00
parent fe9a58b88c
commit 17c22dc7ee
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- increased client side timeout for TUNE command
- fixed regression: no receiver created for ES/PS/PES (reported by Gavin - fixed regression: no receiver created for ES/PS/PES (reported by Gavin
Hamill) Hamill)
- VTP no longer uses a static priority value for its server-side receivers. - VTP no longer uses a static priority value for its server-side receivers.

View File

@ -250,7 +250,7 @@ bool cClientSocket::SetChannelDevice(const cChannel *Channel) {
std::string command = (std::string)"TUNE " std::string command = (std::string)"TUNE "
+ (const char*)Channel->GetChannelID().ToString(); + (const char*)Channel->GetChannelID().ToString();
if (!Command(command, 220)) { if (!Command(command, 220, 10000)) {
if (errno == 0) if (errno == 0)
esyslog("ERROR: Streamdev: Couldn't tune %s:%d to channel %s", esyslog("ERROR: Streamdev: Couldn't tune %s:%d to channel %s",
RemoteIp().c_str(), RemotePort(), Channel->Name()); RemoteIp().c_str(), RemotePort(), Channel->Name());