I've got TVH and OSCam installed on a headless Debian-based box in my garage with two TBS Quad tuners (DVB-S2 and DVB-T2). The intention was to completely replace my current satellite system with TVH and Kodi clients dotted around the house but at the moment it is too unstable to pass the WAF (Wife Acceptance Factor :P )
The instability comes from the combination of TVH and OSCam that I'm using, not from TVH itself. On terrestrial and FTA satellite, TVH is rock solid, but on encrypted channels, not so much (in fact, its unusable at the moment). Part of my problem is probably being bleeding edge; both TVH and OSCam are built from nightly sources on my box which is a recipe for disaster for a "production" system.
As it stands, I'm using TVH 4.1-2004~g02ac9c9 and OSCam 1.20-unstable_svn Build: r11228. The issue is that the connection between TVH and OSCam is really unreliable. The symptoms are;
* Signal breakup every couple of second (OSCam reports a timeout, currently 9000ms, whilst trying to decode the signal)
* OSCam reporting "Not Found" errors whilst trying to decode the signal
* TVH and OSCam apparently getting on really well (none of the above and a perfectly stable signal) until you zap to another channel where all encrypted channels fail to clear
Most of the above can be sorted by restarting OSCam but doing that is not viable as it happens too often. It appears from watching the logs that TVH fails to get the right answer from OSCam every other request (so I get a result...fail...result...fail) which basically makes the video unwatchable.
+What I'm looking for is;+
* Somebody to confirm a working TVH and OSCam combination (version and build numbers would be really useful as I can pull the exact builds out of Git and SVN respectively)
* Somebody who is using this combination of TVH -> OSCam -> CCCam CLines (especially if you are using SkyUK) to confirm your OSCam settings
+TVH is configured to use a newcamd client with the following settings;+
Mode: 6 (OSCam new pc-nodmx (rev >= 10389))
Camd.socket filename / IP Address (TCP mode): /tmp/camd.socket
Listen / Connect port: 0
+OSCam is configured as follows;+
[global]
logfile = /var/log/oscam/oscam.log
pidfile = /var/run/oscam.pid
disableuserfile = 0
clienttimeout = 9000
maxlogsize = 10240
waitforcards = 0
usrfile = /var/log/oscam/oscamuser.log
cwlogdir = /var/log/oscam/cw
emmlogdir = /var/log/oscam/emm/
lb_save = 100
resolvegethostbyname = 1
suppresscmd08 = 1
[cache]
delay = 25
[cs378x]
port = 9000
serverip = 127.0.0.1
[newcamd]
port = 10000@0963:000000
serverip = 127.0.0.1
key = 0102030405060708091011121314
keepalive = 1
[dvbapi]
enabled = 1
pmt_mode = 0
ecminfo_type = 4
user = tvheadend
boxtype = pc-nodmx
[monitor]
port = 988
aulow = 120
monlevel = 1
[webif]
httpport = 8888
httppollrefresh = 10
httpallowed = 127.0.0.1,192.168.1.0-192.168.1.255
aulow = 120
+My readers (2 CLines) are configured as follows;+
[reader]
label = my_server
protocol = cccam_mcs
device = my_server,port
user = user
password = pass
inactivitytimeout = 30
cacheex = 1
cacheex_maxhop = 10
group = 1
emmcache = 1,1,0,0
cccversion = 2.2.1
ccckeepalive = 1
cccreshare = 10
audisabled = 1
+My user is configured as follows;+
[account]
user = tvheadend
pwd = tvheadend
monlevel = 4
group = 1
max_connections = 99