mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
increased client side timeout for TUNE command
This commit is contained in:
parent
d29fecc0a6
commit
bbaf3aa12c
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
VDR Plugin 'streamdev' Revision History
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
|
- increased client side timeout for TUNE command
|
||||||
- more dsyslog messages to help troubleshouting channel switch issues
|
- more dsyslog messages to help troubleshouting channel switch issues
|
||||||
- improved the channel switch code trying to move live TV to different card
|
- 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
|
- make sure that a client doesn't interrupt replaying on server's FF card
|
||||||
|
@ -249,7 +249,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());
|
||||||
|
Loading…
Reference in New Issue
Block a user