OSCam & Hadu - first connection after system wake is slow & dodgy

DragonQ

Registered
Messages
1
Hi,

I have an HTPC (Windows 7) running MediaPortal with MDAPI and Hadu. Hadu connects to my home server (Windows Server 2012), which runs OSCam (1.10 stable). For some reason, the first time I tune to an encrypted channel after waking the HTPC, one of two things happens:

1) The audio & video takes ~25 seconds to start.
2) The audio takes ~25 seconds to start and the video never appears.

If I then stop TV playback and start it again, everything works fine and the video & audio start within a few seconds. I've looked through the logs and it looks like there's either a massive gap for no apparent reason:

Hadu:
Code:
29/01/2013 12:24:23 -- 2 28  CC:  Server Hadu  Start EMM CAID/PID 0963/00C0
29/01/2013 12:24:54 -- 2 14  CAID : 0960,0961,0963

OSCAM:
Code:
2013/01/29 12:24:20  10E9388 c ccc connected and waiting for data USER0
2013/01/29 12:24:55  10E9388 c cccam(s) USER0:  parse_msg=1

or OSCam doesn't seem to receive Hadu's messages and there's a reconnect:

Hadu:
Code:
29/01/2013 10:27:11 -- 0 05  New Channel : Dave HD (SID=0EE1)
...
29/01/2013 10:27:30 -- 4 00  Network:  AsyncCallback Message socket 0  Notif=CLOSE Error=Connection aborted
29/01/2013 10:27:30 -- 1 16  CC:  Stop server Hadu
29/01/2013 10:27:30 -- 1 15  CC:  Start server Hadu

OSCam:
Code:
2013/01/29 10:27:29  11D9278 c encrypted cccam-client 192.168.1.98 granted (USER0, au=on (1 reader))

I've been unable to fix this after trying various things (e.g. adding "OSCAMAw = 1" to Hadu.ini), so I've uploaded various logs and also my config files in the hope that someone can figure out what's going wrong! The only thing I know is that this problem started when I migrated my home server from Linux to Windows.
 
Top